diff --git a/server/routers.ts b/server/routers.ts index b28a4e0..8ae22ae 100644 --- a/server/routers.ts +++ b/server/routers.ts @@ -1367,7 +1367,7 @@ export const appRouter = router({ upsert: adminProcedure .input(z.object({ - type: z.enum(["inscription", "teaser", "rappel1", "rappel2", "rappel3", "rappel4", "rappel5", "rappel6", "reset_password"]), + type: z.enum(["inscription", "teaser", "rappel1", "rappel2", "rappel3", "rappel4", "rappel5", "rappel6", "reset_password", "attestation"]), titre: z.string(), bodyContent: z.string(), couleurPrincipale: z.string(), diff --git a/todo.md b/todo.md index 98e0081..5590d1e 100644 --- a/todo.md +++ b/todo.md @@ -1464,3 +1464,5 @@ - [x] Moderniser l'interface de chargement des attestations (design coloré et ergonomique) - [x] Corriger le bug où le statut reste "envoyé" après la suppression d'une attestation + +- [x] Corriger l'erreur de validation lors de la modification du template attestation