sync updates

This commit is contained in:
Luke Pulverenti 2015-02-18 23:37:44 -05:00
parent 066c2d004f
commit 693848e70b

View File

@ -188,7 +188,7 @@
function onAuthenticated(apiClient, result, options, saveCredentials) { function onAuthenticated(apiClient, result, options, saveCredentials) {
var server = apiClient.serverInfo; var server = apiClient.serverInfo();
var credentials = credentialProvider.credentials(); var credentials = credentialProvider.credentials();
@ -202,7 +202,7 @@
server.AccessToken = null; server.AccessToken = null;
} }
credentials.addOrUpdateServer(credentials.servers, server); credentialProvider.addOrUpdateServer(credentials.servers, server);
saveUserInfoIntoCredentials(server, result.User); saveUserInfoIntoCredentials(server, result.User);
credentialProvider.credentials(credentials); credentialProvider.credentials(credentials);