mirror of
https://github.com/documenso/documenso.git
synced 2025-11-12 15:53:02 +10:00
fix: return the recipient as an array to match other formats from zapier (#971)
Return the recipient as an array to match the other formats for Zapier. Otherwise, Zaps with the "DOCUMENT_OPENED" hooks won't work. All the other webhooks return the "Recipient" field as an array.
This commit is contained in:
@ -70,6 +70,6 @@ export const getDocumentAndRecipientByToken = async ({
|
||||
|
||||
return {
|
||||
...result,
|
||||
Recipient: result.Recipient[0],
|
||||
Recipient: result.Recipient,
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user