better naming of the dashboard functions
This commit is contained in:
@@ -2790,7 +2790,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
domain: domain
|
||||
};
|
||||
|
||||
post('/api/v1/dashboard/prepare_domain', data, null, function (error, data, status) {
|
||||
post('/api/v1/dashboard/prepare_location', data, null, function (error, data, status) {
|
||||
if (error) return callback(error);
|
||||
if (status !== 202) return callback(new ClientError(status, data));
|
||||
|
||||
@@ -2803,7 +2803,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
domain: domain
|
||||
};
|
||||
|
||||
post('/api/v1/dashboard/switch_domain', data, null, function (error, data, status) {
|
||||
post('/api/v1/dashboard/location', data, null, function (error, data, status) {
|
||||
if (error) return callback(error);
|
||||
if (status !== 204) return callback(new ClientError(status, data));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user