add new branding view
This commit is contained in:
@@ -721,7 +721,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
};
|
||||
|
||||
Client.prototype.setFooter = function (footer, callback) {
|
||||
post('/api/v1/settings/footer', { footer: footer }, null, function (error, data, status) {
|
||||
post('/api/v1/branding/footer', { footer: footer }, null, function (error, data, status) {
|
||||
if (error) return callback(error);
|
||||
if (status !== 200) return callback(new ClientError(status, data));
|
||||
|
||||
@@ -730,7 +730,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
};
|
||||
|
||||
Client.prototype.getFooter = function (callback) {
|
||||
get('/api/v1/settings/footer', null, function (error, data, status) {
|
||||
get('/api/v1/branding/footer', null, function (error, data, status) {
|
||||
if (error) return callback(error);
|
||||
if (status !== 200) return callback(new ClientError(status, data));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user