mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-10 12:32:09 +10:00
feat: user page & $dropFetch util
This commit is contained in:
@ -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",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user