WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 051fd43

Browse files
committed
changed visibility to public api
1 parent 61239db commit 051fd43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/src/store/visibilityStore.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { createStore } from "vuex";
22
import createPersistedState from "vuex-persistedstate";
3-
import { api } from "@/plugins/api";
3+
import { publicApi } from "@/plugins/publicApi";
44

55
export default createStore({
66
state: {
@@ -55,7 +55,7 @@ export default createStore({
5555
actions: {
5656
async fetchVisibilityData({ commit }) {
5757
try {
58-
const response = await api.get(
58+
const response = await publicApi.get(
5959
`/visibility/`
6060
);
6161
const visibilityResp = response.data.reduce((result, obj) => {

0 commit comments

Comments
 (0)