fix: 修改传参
This commit is contained in:
+1
-1
@@ -560,7 +560,7 @@ export async function resetUserPassword(params: ResetUserPasswordParams): Promis
|
||||
|
||||
export async function importUsers(params: ImportUsersParams): Promise<unknown> {
|
||||
const formData = new FormData()
|
||||
formData.append('files', params.file)
|
||||
formData.append('file', params.file)
|
||||
|
||||
const response = await fetch('/server/api/cms/users/import/', {
|
||||
method: 'POST',
|
||||
|
||||
Reference in New Issue
Block a user