|
|
|
@ -29,7 +29,7 @@ public class MailController {
|
|
|
|
|
mailService.removeUnsub(id);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "/unsub",method = RequestMethod.POST)
|
|
|
|
|
@RequestMapping(value = "/unsub",method = RequestMethod.PUT)
|
|
|
|
|
// @RequireManager(role = {ManagerRole.ADMIN, ManagerRole.BD_USER, ManagerRole.OPERATOR, ManagerRole.SERVANT})
|
|
|
|
|
public void removeSub(@RequestParam String client_moniker) {
|
|
|
|
|
mailService.addUnsub(client_moniker);
|
|
|
|
|