add new branding view

This commit is contained in:
Girish Ramakrishnan
2020-03-18 17:53:50 -07:00
parent 19e2df65ca
commit 0e3ae2b450
7 changed files with 85 additions and 65 deletions

View File

@@ -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));