dashboard: rename refreshUserInfo to refreshProfile

This commit is contained in:
Girish Ramakrishnan
2024-02-26 12:33:52 +01:00
parent d7596beaf3
commit 3196864f0d
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -2522,7 +2522,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
});
};
Client.prototype.refreshUserInfo = function (callback) {
Client.prototype.refreshProfile = function (callback) {
var that = this;
callback = typeof callback === 'function' ? callback : function () {};
+1 -1
View File
@@ -787,7 +787,7 @@ app.controller('MainController', ['$scope', '$route', '$timeout', '$location', '
// get user profile as the first thing. this populates the "scope" and affects subsequent API calls
async.series([
Client.refreshUserInfo.bind(Client),
Client.refreshProfile.bind(Client),
Client.refreshConfig.bind(Client),
Client.refreshAvailableLanguages.bind(Client),
Client.refreshInstalledApps.bind(Client)