fix(club): status file extension
All checks were successful
Deploy Production Server / if_merged (pull_request) Successful in 6m12s

This commit is contained in:
2025-02-08 13:39:36 +01:00
parent 0ff2c399b3
commit e3fd3878b2
3 changed files with 11 additions and 3 deletions

View File

@@ -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();
}