fix: add missing properties for template/use (#2234)

Adds the `override` and `attachments` properties to the
`api/v2/templates/use` endpoint that were previously missing.
This commit is contained in:
Lucas Smith
2025-11-25 11:44:47 +11:00
committed by GitHub
parent e364b08b6a
commit 91642ddf0b
2 changed files with 35 additions and 1 deletions

View File

@ -457,8 +457,10 @@ export const templateRouter = router({
recipients,
distributeDocument,
customDocumentDataId,
prefillFields,
folderId,
prefillFields,
override,
attachments,
} = input;
ctx.logger.info({
@ -495,6 +497,8 @@ export const templateRouter = router({
requestMetadata: ctx.metadata,
folderId,
prefillFields,
override,
attachments,
});
if (distributeDocument) {