Fix #549 - Use correct http method

Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
This commit is contained in:
Andrew DeMaria
2017-09-01 18:48:53 -06:00
parent 0b2e526cbc
commit 9710f14b65
@@ -44,7 +44,7 @@ public class SetMusicFileInfoController {
@Autowired @Autowired
private MediaFileService mediaFileService; private MediaFileService mediaFileService;
@RequestMapping(method = RequestMethod.GET) @RequestMapping(method = RequestMethod.POST)
protected ModelAndView handleRequestInternal(HttpServletRequest request) throws Exception { protected ModelAndView handleRequestInternal(HttpServletRequest request) throws Exception {
int id = ServletRequestUtils.getRequiredIntParameter(request, "id"); int id = ServletRequestUtils.getRequiredIntParameter(request, "id");
String action = request.getParameter("action"); String action = request.getParameter("action");