7 lines
165 B
TypeScript
7 lines
165 B
TypeScript
import fetcher from "@/lib/api/fetcher";
|
|
|
|
export async function remove(id: string) {
|
|
return fetcher(`/admin/web/blog/${id}`, {
|
|
method: 'DELETE',
|
|
})
|
|
} |