fix: improve error handling in DocumentSchema for document page retrieval

- Updated the document page retrieval logic to handle errors gracefully by using a try-catch block, preventing the application from throwing an error if the document page is not found.
- Simplified the validation check for document ownership and collaboration access by consolidating conditions into a single line for better readability.
This commit is contained in:
2024-12-02 17:32:49 +07:00
parent 4b5ccc4bb7
commit 542312b7d8
2 changed files with 6 additions and 6 deletions

1
.nvmrc Normal file
View File

@@ -0,0 +1 @@
22.11.0