diff --git a/src/main/java/org/craftercms/studio/controller/rest/v2/UsersController.java b/src/main/java/org/craftercms/studio/controller/rest/v2/UsersController.java index 39c3d46ff6..2aa47f093b 100644 --- a/src/main/java/org/craftercms/studio/controller/rest/v2/UsersController.java +++ b/src/main/java/org/craftercms/studio/controller/rest/v2/UsersController.java @@ -515,7 +515,7 @@ public ResultOne> updateUserProperties(@Valid @RequestBody U @DeleteMapping(value = ME + PROPERTIES, produces = APPLICATION_JSON_VALUE) public ResultOne> deleteUserProperties( @ValidSiteId @RequestParam(required = false, defaultValue = StringUtils.EMPTY) String siteId, - @Valid @NotEmpty @RequestParam List<@NotBlank String> properties) throws ServiceLayerException { + @NotEmpty @RequestParam List<@Valid @NotBlank String> properties) throws ServiceLayerException { ResultOne> result = new ResultOne<>(); result.setResponse(OK); result.setEntity("properties", userService.deleteUserProperties(siteId, properties)); //TODO: Extract key