Skip to content

Commit

Permalink
Merge branch 'main' of github.com:genepi/cloudgene3
Browse files Browse the repository at this point in the history
  • Loading branch information
lukfor committed Oct 21, 2024
2 parents 54f03e1 + 696958c commit 1815f80
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public MessageResponse archive(Authentication authentication, String id) {

@Get("/{id}/change-retire/{days}")
@Produces(MediaType.TEXT_PLAIN)
public MessageResponse increaseRetireDate(Authentication authentication, String id, Integer days) {
public String increaseRetireDate(Authentication authentication, String id, Integer days) {

User admin = authenticationService.getUserByAuthentication(authentication);

Expand All @@ -129,7 +129,7 @@ public MessageResponse increaseRetireDate(Authentication authentication, String
log.info(String.format("Job: Extended retire date for job %s (by ADMIN user ID %s - email %s)", job.getId(),
admin.getId(), admin.getMail()));

return MessageResponse.success(message);
return message;

}

Expand Down

0 comments on commit 1815f80

Please sign in to comment.