mirror of
https://github.com/documenso/documenso.git
synced 2025-11-17 10:11:35 +10:00
chore: changes based on review
This commit is contained in:
@ -100,7 +100,7 @@ export const sendDocument = async ({
|
||||
|
||||
const { documentData } = document;
|
||||
|
||||
if (!documentData.data) {
|
||||
if (!documentData || !documentData.data) {
|
||||
throw new Error('Document data not found');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user