mirror of https://github.com/halo-dev/halo
				
				
				
			Fixed bug #160
							parent
							
								
									549485f1a1
								
							
						
					
					
						commit
						3ef3d1b779
					
				| 
						 | 
				
			
			@ -59,8 +59,7 @@ public class ThemeController {
 | 
			
		|||
 | 
			
		||||
    @PutMapping("files/content")
 | 
			
		||||
    public void updateContentBy(@RequestParam(name = "path") String path,
 | 
			
		||||
                                @RequestParam(name = "content") String content) {
 | 
			
		||||
        // TODO Refactor the params to body
 | 
			
		||||
                                @RequestBody String content) {
 | 
			
		||||
        themeService.saveTemplateContent(path, content);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue