Also amend iconUrl for compatibility
This commit is contained in:
@@ -1845,6 +1845,8 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
};
|
||||
|
||||
Client.prototype.getApplinks = function (callback) {
|
||||
var that = this;
|
||||
|
||||
get('/api/v1/applinks', null, function (error, data, status) {
|
||||
if (error) return callback(error);
|
||||
if (status !== 200) return callback(new ClientError(status, data));
|
||||
@@ -1857,6 +1859,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
applink.runState = RSTATES.RUNNING;
|
||||
applink.health = HSTATES.HEALTHY;
|
||||
applink.accessLevel = 'operator';
|
||||
applink.iconUrl = that.apiOrigin + '/api/v1/applinks/' + applink.id + '/icon?access_token=' + token + '&ts=' + applink.ts;
|
||||
});
|
||||
|
||||
callback(null, data.applinks);
|
||||
|
||||
Reference in New Issue
Block a user