mirror of https://github.com/halo-dev/halo
fix: theme update by upload. (halo-dev/console#299)
parent
1673a673fb
commit
b23d32206d
|
@ -118,7 +118,7 @@ themeApi.updateByUpload = (formData, uploadProgress, cancelToken, themeId) => {
|
|||
data: formData, // form data
|
||||
onUploadProgress: uploadProgress,
|
||||
cancelToken: cancelToken,
|
||||
method: 'post'
|
||||
method: 'put'
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue