pull/167/head^2
ruibaby 2019-05-16 23:13:51 +08:00 committed by John Niang
parent 09b47d4d28
commit 6febabc289
1 changed files with 1 additions and 2 deletions

View File

@ -59,8 +59,7 @@ public class ThemeController {
@PutMapping("files/content") @PutMapping("files/content")
public void updateContentBy(@RequestParam(name = "path") String path, public void updateContentBy(@RequestParam(name = "path") String path,
@RequestParam(name = "content") String content) { @RequestBody String content) {
// TODO Refactor the params to body
themeService.saveTemplateContent(path, content); themeService.saveTemplateContent(path, content);
} }