mising query param

This commit is contained in:
Massimiliano Assante 2022-09-15 14:33:13 +02:00
parent 3ee604924c
commit 7a6f95d466
1 changed files with 1 additions and 0 deletions

View File

@ -156,6 +156,7 @@ public class Notifications {
@ResponseCode ( code = 200, condition = "Users with silenced notifications are reported in the 'result' field of the returned object"),
@ResponseCode ( code = 500, condition = ErrorMessages.ERROR_IN_API_RESULT)
})
@QueryParam("username")
@AuthorizationControl(allowedRoles={INFRASTRUCTURE_MANAGER_ROLE}, exception=AuthException.class)
public Response isUserDisabled(String usernameToCheck) throws ValidationException{
ResponseBean responseBean = new ResponseBean();