mirror of
https://github.com/documenso/documenso.git
synced 2026-07-16 16:19:59 +10:00
feat: add attachments (#2091)
This commit is contained in:
@@ -427,6 +427,7 @@ export const ApiContractV1Implementation = tsr.router(ApiContractV1, {
|
||||
globalAccessAuth: body.authOptions?.globalAccessAuth,
|
||||
globalActionAuth: body.authOptions?.globalActionAuth,
|
||||
},
|
||||
attachments: body.attachments,
|
||||
meta: {
|
||||
subject: body.meta.subject,
|
||||
message: body.meta.message,
|
||||
@@ -497,6 +498,7 @@ export const ApiContractV1Implementation = tsr.router(ApiContractV1, {
|
||||
publicDescription,
|
||||
type,
|
||||
meta,
|
||||
attachments,
|
||||
} = body;
|
||||
|
||||
try {
|
||||
@@ -568,6 +570,7 @@ export const ApiContractV1Implementation = tsr.router(ApiContractV1, {
|
||||
publicDescription,
|
||||
},
|
||||
meta,
|
||||
attachments,
|
||||
requestMetadata: metadata,
|
||||
});
|
||||
|
||||
@@ -792,6 +795,7 @@ export const ApiContractV1Implementation = tsr.router(ApiContractV1, {
|
||||
...body.meta,
|
||||
title: body.title,
|
||||
},
|
||||
attachments: body.attachments,
|
||||
requestMetadata: metadata,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user