Fix #549 - Use correct http method
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
This commit is contained in:
+1
-1
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user