mirror of
https://github.com/halo-dev/halo.git
synced 2025-12-20 16:44:38 +08:00
feat: add requests library as a global shared dependency
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { apiClient } from "@/utils/api-client";
|
||||
import { consoleApiClient } from "@halo-dev/api-client";
|
||||
import type { Theme } from "@halo-dev/api-client";
|
||||
import { defineStore } from "pinia";
|
||||
import { ref } from "vue";
|
||||
@@ -15,7 +15,7 @@ export const useThemeStore = defineStore("theme", () => {
|
||||
}
|
||||
|
||||
try {
|
||||
const { data } = await apiClient.theme.fetchActivatedTheme({
|
||||
const { data } = await consoleApiClient.theme.theme.fetchActivatedTheme({
|
||||
mute: true,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user