token now has an id

This commit is contained in:
Girish Ramakrishnan
2019-02-15 14:21:10 -08:00
parent db54a305b0
commit cb889ce06d
+1 -1
View File
@@ -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);