chore: implement feedback

This commit is contained in:
Catalin Pit
2025-07-23 14:42:16 +03:00
parent d710f53fb5
commit c0a72123bd
3 changed files with 44 additions and 55 deletions

View File

@ -47,6 +47,7 @@ export const attachmentRouter = router({
documentId,
attachments,
user: ctx.user,
teamId: ctx.teamId,
requestMetadata: ctx.metadata.requestMetadata,
});
@ -81,6 +82,8 @@ export const attachmentRouter = router({
const updatedAttachments = await setTemplateAttachments({
templateId,
userId: ctx.user.id,
teamId: ctx.teamId,
attachments,
});