feat: refactor news and migrate rest of useFetch to $dropFetch

This commit is contained in:
DecDuck
2025-03-14 13:12:04 +11:00
parent bd1cb67cd0
commit 1de9ebdfa5
23 changed files with 299 additions and 297 deletions
+1 -2
View File
@@ -176,6 +176,5 @@ useHead({
title: "Home",
});
const headers = useRequestHeaders(["cookie"]);
const libraryState = await $dropFetch("/api/v1/admin/library", { headers });
const libraryState = await $dropFetch("/api/v1/admin/library");
</script>