feat: add requests library as a global shared dependency

This commit is contained in:
Ryan Wang
2024-06-25 12:31:44 +08:00
parent ecc0a70249
commit c74187c066
156 changed files with 1866 additions and 1964 deletions

View File

@@ -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,
});