This commit is contained in:
2020-05-13 23:35:44 +00:00
parent c88adecdf5
commit 15b845813a
4 changed files with 5 additions and 5 deletions

View File

@@ -751,7 +751,7 @@ export default function initialize() {
.then(() => { .then(() => {
//GET USER OPTIONS //GET USER OPTIONS
window.$gz.api window.$gz.api
.get("UserOptions/" + window.$gz.store.state.userId) .get("user-option/" + window.$gz.store.state.userId)
// eslint-disable-next-line // eslint-disable-next-line
.then((res) => { .then((res) => {
if (res.error) { if (res.error) {

View File

@@ -79,7 +79,7 @@ export default {
} }
vm.tagSearchUnderway = true; vm.tagSearchUnderway = true;
window.$gz.api window.$gz.api
.get("TagList/List?query=" + val) //roles .get("taglist/list?query=" + val) //roles
.then(res => { .then(res => {
if (res.error) { if (res.error) {
throw res.error; throw res.error;

View File

@@ -435,8 +435,8 @@ function fetchTranslatedText(vm) {
// //
// //
function populateSelectionLists(vm) { function populateSelectionLists(vm) {
//http://localhost:7575/api/v8/Translation/List //http://localhost:7575/api/v8/translation/list
return window.$gz.api.get("Translation/List").then(res => { return window.$gz.api.get("translation/list").then(res => {
if (res.error) { if (res.error) {
window.$gz.errorHandler.handleFormError(res.error, vm); window.$gz.errorHandler.handleFormError(res.error, vm);
} else { } else {

View File

@@ -247,7 +247,7 @@
//////////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////////////
// //
const FORM_KEY = "widget-edit"; const FORM_KEY = "widget-edit";
const API_BASE_URL = "Widget/"; const API_BASE_URL = "widget/";
const FORM_CUSTOM_TEMPLATE_KEY = "Widget"; const FORM_CUSTOM_TEMPLATE_KEY = "Widget";
export default { export default {