Fixed Delete Cache Method
This commit is contained in:
parent
99499feb12
commit
2c7d47e0f0
@ -378,7 +378,7 @@ public class Controller {
|
||||
@ApiResponse(code = 404, message = "Database error")
|
||||
})
|
||||
@CrossOrigin(origins = "*", allowedHeaders = "*") // only for dev purpose
|
||||
@RequestMapping(value = "/api/deleteCache", method = RequestMethod.DELETE, produces = "application/json")
|
||||
@RequestMapping(value = "/api/deleteCache", method = {RequestMethod.DELETE, RequestMethod.GET}, produces = "application/json")
|
||||
@ResponseBody
|
||||
public ResponseEntity deleteCache(@RequestParam String cacheID) {
|
||||
return deleteCacheUtil(cacheID);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user