Spaces:
Runtime error

Akshar2325 commited on
Commit
fcc750f
Β·
1 Parent(s): 11cad63

fix(auth): improve robustness of user signup and email flow

Browse files

- 【auth】make welcome email sending non-blocking to prevent signup failures
- 【email】enhance error handling for email API to manage non-json responses

feat(email): add detailed logging for traceability
- log email payloads, raw API responses, and success/error states
- improves debugging capabilities for email delivery issues

refactor(db): remove unused clientId field from UserSession
- clean up the prisma schema by removing the obsolete `clientId` column

3 files changed +80 -40
Files changed (3)
prisma/schema.prisma-1
src/modules/user/auth/auth.service.ts+11-6
src/shared/modules/email/email.service.ts+69-33