Skip to content

Commit

Permalink
IQSS#7906 delete extra space from the end of an API success message.
Browse files Browse the repository at this point in the history
  • Loading branch information
pkiraly committed May 27, 2021
1 parent 52fee75 commit 77883e3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/java/edu/harvard/iq/dataverse/api/Admin.java
Original file line number Diff line number Diff line change
Expand Up @@ -379,9 +379,8 @@ private Response deleteAuthenticatedUser(AuthenticatedUser au) {
authSvc.removeAuthentictedUserItems(au);

authSvc.deleteAuthenticatedUser(au.getId());
return ok("AuthenticatedUser " + au.getIdentifier() + " deleted. ");

}
return ok("AuthenticatedUser " + au.getIdentifier() + " deleted.");
}

@POST
@Path("authenticatedUsers/{identifier}/deactivate")
Expand Down

0 comments on commit 77883e3

Please sign in to comment.