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