Skip to content

Commit

Permalink
解决两个警告
Browse files Browse the repository at this point in the history
  • Loading branch information
bbbbbbbbbbbbba committed Feb 4, 2024
1 parent c228de3 commit 0ffe55e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion site/src/stores/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const useConfigStore = defineStore("config", {
},
actions: {
async fetchConfig() {
this.config = await useMyFetch("/api/config/configs");
this.config = await useHttpGet("/api/config/configs");
},
},
});
2 changes: 1 addition & 1 deletion site/src/stores/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const useUserStore = defineStore("user", {
},
actions: {
async fetchCurrent() {
this.user = await useMyFetch("/api/user/current");
this.user = await useHttpGet("/api/user/current");
return this.user;
},
async signin(body) {
Expand Down

0 comments on commit 0ffe55e

Please sign in to comment.