Use new registration API
This commit is contained in:
@@ -611,24 +611,6 @@ angular.module('Application').service('Client', ['$http', '$interval', 'md5', 'N
|
||||
});
|
||||
};
|
||||
|
||||
Client.prototype.setAppstoreConfig = function (appstoreConfig, callback) {
|
||||
post('/api/v1/settings/appstore_config', appstoreConfig, null, function (error, data, status) {
|
||||
if (error) return callback(error);
|
||||
if (status !== 202) return callback(new ClientError(status, data));
|
||||
|
||||
callback(null);
|
||||
});
|
||||
};
|
||||
|
||||
Client.prototype.getAppstoreConfig = function (callback) {
|
||||
get('/api/v1/settings/appstore_config', null, function (error, data, status) {
|
||||
if (error) return callback(error);
|
||||
if (status !== 200) return callback(new ClientError(status, data));
|
||||
|
||||
callback(null, data);
|
||||
});
|
||||
};
|
||||
|
||||
Client.prototype.getRemoteSupport = function (callback) {
|
||||
get('/api/v1/support/remote_support', null, function (error, data, status) {
|
||||
if (error) return callback(error);
|
||||
|
||||
Reference in New Issue
Block a user