This commit is contained in:
1 parent
2e52ed61bd
commit
d789f68135
2 files changed
+1
-46
No files matched your search
@@ -78,7 +78,7 @@ export class FileService {
|
||||
}
|
||||
|
||||
static async updateFile(data: FileEditForm): Promise<ApiResponse> {
|
||||
return api.post('/admin/file/update', data)
|
||||
return api.patch('/admin/file/update', data)
|
||||
}
|
||||
|
||||
static async deleteAdminFile(id: number): Promise<ApiResponse> {
|
||||
|
||||
Reference in new issue
Block a user