token now has an id
This commit is contained in:
@@ -345,7 +345,7 @@ angular.module('Application').controller('AccountController', ['$scope', 'Client
|
||||
};
|
||||
|
||||
$scope.removeToken = function (client, token) {
|
||||
Client.delToken(client.id, token.accessToken, function (error) {
|
||||
Client.delToken(client.id, token.id, function (error) {
|
||||
if (error) console.error(error);
|
||||
|
||||
refreshClientTokens(client);
|
||||
|
||||
Reference in New Issue
Block a user