mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-25 17:24:48 +10:00
feat: user page & $dropFetch util
This commit is contained in:
+1
-1
@@ -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",
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user