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(() => {
//GET USER OPTIONS
window.$gz.api
.get("UserOptions/" + window.$gz.store.state.userId)
.get("user-option/" + window.$gz.store.state.userId)
// eslint-disable-next-line
.then((res) => {
if (res.error) {

View File

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

View File

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

View File

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