fix: add tests

This commit is contained in:
David Nguyen
2025-11-03 20:17:52 +11:00
parent 4a0425b120
commit c10c95ca00
10 changed files with 456 additions and 79 deletions

View File

@ -161,7 +161,6 @@ export const templateRouter = router({
*/
createTemplate: authenticatedProcedure
.meta({
// Note before releasing this to public, update the response schema to be correct.
openapi: {
method: 'POST',
path: '/template/create',
@ -207,7 +206,7 @@ export const templateRouter = router({
return {
envelopeId: envelope.id,
legacyTemplateId: mapSecondaryIdToTemplateId(envelope.secondaryId),
id: mapSecondaryIdToTemplateId(envelope.secondaryId),
};
}),