fix: 修复一个拼写错误
This commit is contained in:
@@ -92,7 +92,7 @@ export async function listBlogs() {
|
|||||||
return clientFetch<Blog[]>('/api/admin/web/blog')
|
return clientFetch<Blog[]>('/api/admin/web/blog')
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function removeBlogs(id: string) {
|
export async function removeBlog(id: string) {
|
||||||
// ? Blog
|
// ? Blog
|
||||||
return clientFetch<Blog>(`/api/admin/web/blog/${id}`, {
|
return clientFetch<Blog>(`/api/admin/web/blog/${id}`, {
|
||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
|
|||||||
Reference in New Issue
Block a user