diff --git a/client/app/modules/devices/store/actions.js b/client/app/modules/devices/store/actions.js index b96bb007..ecf66987 100644 --- a/client/app/modules/devices/store/actions.js +++ b/client/app/modules/devices/store/actions.js @@ -3,7 +3,7 @@ import toastr from "../../../core/toastr"; import { LOAD, ADD, SELECT, CLEAR_SELECT, UPDATE, REMOVE } from "./types"; import axios from "axios"; -export const NAMESPACE = "/api/devices"; +const NAMESPACE = "/api/devices"; export const selectRow = ({ commit }, row, multiSelect) => { commit(SELECT, row, multiSelect); diff --git a/client/app/modules/posts/store/actions.js b/client/app/modules/posts/store/actions.js index 2787e39d..64829a6d 100644 --- a/client/app/modules/posts/store/actions.js +++ b/client/app/modules/posts/store/actions.js @@ -4,7 +4,7 @@ import Service from "../../../core/service"; import { LOAD, LOAD_MORE, ADD, UPDATE, VOTE, UNVOTE, REMOVE, NO_MORE_ITEMS, FETCHING, CHANGE_SORT, CHANGE_VIEWMODE } from "./types"; -export const NAMESPACE = "/api/posts"; +const NAMESPACE = "/api/posts"; let service = new Service("posts"); diff --git a/client/app/modules/profile/store/actions.js b/client/app/modules/profile/store/actions.js index 2f281295..50d7ba0c 100644 --- a/client/app/modules/profile/store/actions.js +++ b/client/app/modules/profile/store/actions.js @@ -1,7 +1,7 @@ import Vue from "vue"; import toastr from "../../../core/toastr"; -export const NAMESPACE = "/api/profile"; +const NAMESPACE = "/api/profile"; import Service from "../../../core/service"; let service = new Service("profile"); diff --git a/client/app/modules/session/store/actions.js b/client/app/modules/session/store/actions.js index 460915d2..8de7f50e 100644 --- a/client/app/modules/session/store/actions.js +++ b/client/app/modules/session/store/actions.js @@ -2,7 +2,7 @@ import Vue from "vue"; import axios from "axios"; import { ADD_MESSAGE, ADD_NOTIFICATION, SET_USER, SEARCH } from "./types"; -export const NAMESPACE= "/api/session"; +const NAMESPACE= "/api/session"; export const getSessionUser = ({ commit }) => { axios.get(NAMESPACE + "/me").then((response) => {