feat: user page & $dropFetch util

This commit is contained in:
DecDuck
2025-03-14 12:22:08 +11:00
parent 72748bd9e3
commit 661befba3f
39 changed files with 416 additions and 166 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ async function deleteCollection() {
if (!collection.value) return;
deleteLoading.value = true;
await $fetch(`/api/v1/collection/${collection.value.id}`, {
await $dropFetch(`/api/v1/collection/${collection.value.id}`, {
// @ts-ignore
method: "DELETE",
});