Get subscription first and then get apps

This commit is contained in:
Girish Ramakrishnan
2019-05-05 07:46:06 -07:00
parent 8317972078
commit 1fbbeba5bc
2 changed files with 29 additions and 33 deletions

View File

@@ -2002,7 +2002,7 @@ angular.module('Application').service('Client', ['$http', '$interval', 'md5', 'N
});
};
Client.prototype.getAppsFast = function (callback) {
Client.prototype.getAppstoreAppsFast = function (callback) {
if (this._appstoreAppCache.length !== 0) return callback(null, this._appstoreAppCache);
this.getAppstoreApps(callback);