Skip to content

fix(conversations): handle malformed disappearing settings JSON - #185

Merged
ralyodio merged 1 commit into
profullstack:masterfrom
aiirvizionz:clientkit/conversation-disappearing-invalid-json
Jul 29, 2026
Merged

fix(conversations): handle malformed disappearing settings JSON#185
ralyodio merged 1 commit into
profullstack:masterfrom
aiirvizionz:clientkit/conversation-disappearing-invalid-json

Conversation

@aiirvizionz

Copy link
Copy Markdown
Contributor

Summary

  • return a 400 response for malformed per-conversation disappearing-message JSON
  • avoid treating client JSON syntax errors as generic internal server errors
  • add focused regression coverage that verifies participant lookup/update does not run for malformed JSON

Validation

  • git diff --check
  • node node_modules\vitest\vitest.mjs run --config $env:TEMP\qryptchat-vitest-minimal.config.mjs "src/app/api/conversations/[id]/disappearing-messages/route.test.js" (3 tests)

Billing

  • uGig billable PR candidate: expected invoice $0.50 if accepted/merged
  • Not counted as revenue until paid/settled

@ralyodio
ralyodio merged commit a67f9d4 into profullstack:master Jul 29, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants