fix(club): status file extension
All checks were successful
Deploy Production Server / if_merged (pull_request) Successful in 6m12s
All checks were successful
Deploy Production Server / if_merged (pull_request) Successful in 6m12s
This commit is contained in:
@@ -185,7 +185,7 @@ public class AffiliationRequestEndpoints {
|
||||
})
|
||||
public Uni<Response> getStatus(
|
||||
@Parameter(description = "L'identifiant de la demande d'affiliation") @PathParam("id") long id) throws URISyntaxException {
|
||||
return Utils.getMediaFile(id, media, "aff_request/status", "affiliation_request_" + id + ".pdf",
|
||||
return Utils.getMediaFile(id, media, "aff_request/status", "affiliation_request_" + id,
|
||||
Uni.createFrom().nullItem());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -305,7 +305,7 @@ public class ClubEndpoints {
|
||||
return clubService.getById(id).onItem().invoke(checkPerm).chain(Unchecked.function(clubModel -> {
|
||||
try {
|
||||
return Utils.getMediaFile(clubModel.getId(), media, "clubStatus",
|
||||
"statue-" + clubModel.getName() + ".pdf", Uni.createFrom().nullItem());
|
||||
"statue-" + clubModel.getName(), Uni.createFrom().nullItem());
|
||||
} catch (URISyntaxException e) {
|
||||
throw new InternalError();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user