Merge pull request #323 from documenso/feat/promise-safety

feat: promise safety
This commit is contained in:
Lucas Smith
2023-08-30 11:32:32 +10:00
committed by GitHub
35 changed files with 103 additions and 57 deletions

View File

@ -87,6 +87,6 @@ export const completeDocumentWithToken = async ({
if (documents.count > 0) {
console.log('sealing document');
sealDocument({ documentId: document.id });
await sealDocument({ documentId: document.id });
}
};