fixed damaged deleting slots, see #5
This commit is contained in:
@@ -25,7 +25,7 @@ public class ProfileController extends CommonController {
|
||||
* @param theme the theme
|
||||
*/
|
||||
@PostMapping("/updateTheme/{theme}")
|
||||
public ResponseEntity<?> updateTheme(@PathVariable String theme) {
|
||||
public ResponseEntity<?> updateTheme(@PathVariable("theme") String theme) {
|
||||
// TODO: add profile's user name
|
||||
String username = "jotty";
|
||||
service.updateTheme(username, theme);
|
||||
|
||||
Reference in New Issue
Block a user