Commit Graph

3 Commits

Author SHA1 Message Date
afebc411af feat: enhance session management and improve webhook handling in ClerkService
- Made webhook and dispatchEvent methods asynchronous for better event processing.
- Integrated Redis for session invalidation, ensuring sessions are deleted upon specific Clerk events.
- Improved overall responsiveness and reliability of session management in ClerkService.
2024-12-04 13:54:55 +07:00
a516dce800 chore: update Node version and enhance debugging capabilities
- Removed .nvmrc file to eliminate version locking.
- Updated Dockerfile to use Node 22.6.0-alpine for improved performance and security.
- Modified package.json to enhance the 'start:dev' script with debugging options.
- Added new launch configuration in VSCode for attaching to Node processes by PID.
- Cleaned up settings.json by removing unused configurations.
- Refactored main.ts to simplify the bootstrap process.
- Enhanced logging in OrderSchema and ScheduleSchema for better traceability of operations.
2024-12-03 22:46:23 +07:00
542312b7d8 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.
2024-12-02 17:32:49 +07:00