fix: 修复一个拼写错误

This commit is contained in:
2025-12-19 19:11:26 +08:00
parent ef2fa6fe5c
commit 7d16d0d9e7

View File

@@ -92,7 +92,7 @@ export async function listBlogs() {
return clientFetch<Blog[]>('/api/admin/web/blog')
}
export async function removeBlogs(id: string) {
export async function removeBlog(id: string) {
// ? Blog
return clientFetch<Blog>(`/api/admin/web/blog/${id}`, {
method: 'DELETE',