diff --git a/src/controllers/admin/badges/generateBadges.ts b/src/controllers/admin/badges/generateBadges.ts index 0297c5d3..e8a5f960 100644 --- a/src/controllers/admin/badges/generateBadges.ts +++ b/src/controllers/admin/badges/generateBadges.ts @@ -160,7 +160,7 @@ export default [ ), firstName: user[0].firstname, lastName: user[0].lastname, - image: `${env.front.website}/uploads/files/orga/${user[0].orga.photoFilename}.webp` ?? '', + image: `${env.front.website}/uploads/files/orga/${user[0].orga.photoFilename}.webp`, commissionName: getCommissionName( user[0].orga.roles[mainCommissionIndex].commissionRole, user[0].orga.roles[mainCommissionIndex].commission.id,