fix: theme update by upload. (#299)

pull/300/head
Ryan Wang 2021-02-25 20:33:00 +08:00 committed by GitHub
parent ecc0784a80
commit 3799afcdd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ themeApi.updateByUpload = (formData, uploadProgress, cancelToken, themeId) => {
data: formData, // form data
onUploadProgress: uploadProgress,
cancelToken: cancelToken,
method: 'post'
method: 'put'
})
}