You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 770cd9b
Browse filesBrowse the repository at this point in the historyBrowse files
Refactor MongoDB connection and enhance error handling in comments API
- Updated MONGODB_URI to use environment variable with fallback.
- Changed error response handling in POST request for comments to return a 500 status on failure.
- Updated logging messages in VeltCommentDataProvider for clarity and consistency.
- Improved error handling in save and delete comment functions to return accurate success status.
- Added logging for JWT token retrieval in VeltInitializeUser component.
Copy file name to clipboardExpand all lines: apps/react/comments/dashboard/self-hosting/dashboard-mongo-db-demo/components/velt/VeltCommentDataProvider.ts
0 commit comments