mirror of https://github.com/halo-dev/halo
parent
6b8cf2f57e
commit
913bc6042e
|
@ -165,7 +165,7 @@ public class ThemeController {
|
||||||
return themeService.upload(file);
|
return themeService.upload(file);
|
||||||
}
|
}
|
||||||
|
|
||||||
@PutMapping("upload/{themeId}")
|
@PostMapping("upload/{themeId}")
|
||||||
@ApiOperation("Upgrades theme by file")
|
@ApiOperation("Upgrades theme by file")
|
||||||
public ThemeProperty updateThemeByUpload(@PathVariable("themeId") String themeId,
|
public ThemeProperty updateThemeByUpload(@PathVariable("themeId") String themeId,
|
||||||
@RequestPart("file") MultipartFile file) {
|
@RequestPart("file") MultipartFile file) {
|
||||||
|
|
Loading…
Reference in New Issue