diff --git a/backend/web/src/main/java/org/opencdmp/controllers/UserController.java b/backend/web/src/main/java/org/opencdmp/controllers/UserController.java index e246f1de2..fcf262973 100644 --- a/backend/web/src/main/java/org/opencdmp/controllers/UserController.java +++ b/backend/web/src/main/java/org/opencdmp/controllers/UserController.java @@ -301,9 +301,7 @@ public class UserController { public Boolean getUserTokenPermission(@PathVariable("token") String token) throws InvalidApplicationException, IOException { logger.debug(new MapLogEntry("allow merge account to user").And("token", token)); - this.auditService.track(AuditableAction.User_AllowMergeAccount, Map.ofEntries( - new AbstractMap.SimpleEntry("token", token) - )); + this.auditService.track(AuditableAction.User_AllowMergeAccount); return this.userTypeService.doesTokenBelongToLoggedInUser(token); }