Files
documenso/packages/lib/server-only
Catalin Pit 627265f016 fix: return updated doc (#1089)
## Description

Fetch the updated version of the document after sealing it and return
it. Previously, the `document.documentData.data` wasn't up to date. Now
it is.

## Related Issue

Fixes #1088.

## Testing Performed

* Added console.logs in the code to make sure it returns the proper data
* Set up a webhook and tested that the webhook receives the updated data

## Checklist

<!--- Please check the boxes that apply to this pull request. -->
<!--- You can add or remove items as needed. -->

- [x] I have tested these changes locally and they work as expected.
- [ ] I have added/updated tests that prove the effectiveness of these
changes.
- [ ] I have updated the documentation to reflect these changes, if
applicable.
- [x] I have followed the project's coding style guidelines.
- [ ] I have addressed the code review feedback from the previous
submission, if applicable.
2024-04-08 19:28:50 +07:00
..
2024-03-03 01:55:33 +11:00
2024-04-08 19:28:50 +07:00
2024-03-28 13:13:29 +08:00
2023-11-06 13:01:06 +11:00
2023-11-06 13:02:19 +11:00
2024-02-28 08:13:28 +02:00
2024-03-28 13:13:29 +08:00
2023-11-06 13:01:06 +11:00
2024-02-24 08:08:14 +00:00
2023-11-06 13:02:19 +11:00
2024-03-21 00:48:49 +00:00