feat: user page & $dropFetch util

This commit is contained in:
DecDuck
2025-03-14 12:22:08 +11:00
parent 3225f536ce
commit bd1cb67cd0
39 changed files with 416 additions and 166 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ export const useNews = () => {
};
const remove = async (id: string) => {
return await $fetch(`/api/v1/admin/news/${id}`, {
return await $dropFetch(`/api/v1/admin/news/${id}`, {
method: "DELETE",
});
};