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(() => {
//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;
});