This commit is contained in:
2020-05-13 23:15:34 +00:00
parent 99b03efbd6
commit 705fb6ba53

View File

@@ -806,7 +806,7 @@ export default function initialize() {
.then(() => { .then(() => {
//GET GLOBAL SETTINGS //GET GLOBAL SETTINGS
window.$gz.api window.$gz.api
.get("GlobalBizSettings/client") .get("global-biz-setting/client")
// eslint-disable-next-line // eslint-disable-next-line
.then((res) => { .then((res) => {
if (res.error) { if (res.error) {
@@ -815,7 +815,7 @@ export default function initialize() {
let msg = window.$gz.api.apiErrorToHumanString(res.error); let msg = window.$gz.api.apiErrorToHumanString(res.error);
window.$gz.store.commit( window.$gz.store.commit(
"logItem", "logItem",
"Initialize::() fetch GlobalBizSettings/client -> error" + msg "Initialize::() fetch global-biz-setting/client -> error" + msg
); );
window.$gz.eventBus.$emit("notify-error", msg); window.$gz.eventBus.$emit("notify-error", msg);
} else { } else {
@@ -829,7 +829,7 @@ export default function initialize() {
.catch(function handleFetchClientGlobalSettingsError(error) { .catch(function handleFetchClientGlobalSettingsError(error) {
window.$gz.store.commit( window.$gz.store.commit(
"logItem", "logItem",
"Initialize::() fetch GlobalBizSettings/client -> error" + error "Initialize::() fetch global-biz-setting/client -> error" + error
); );
throw error; throw error;
}); });