Skip to content

fix(auth): reuse parsed debug sms body - #186

Merged
ralyodio merged 1 commit into
profullstack:masterfrom
aiirvizionz:clientkit/debug-sms-single-json-read
Jul 29, 2026
Merged

fix(auth): reuse parsed debug sms body#186
ralyodio merged 1 commit into
profullstack:masterfrom
aiirvizionz:clientkit/debug-sms-single-json-read

Conversation

@aiirvizionz

Copy link
Copy Markdown
Contributor

Summary

  • parse the debug SMS POST body once and reuse it for test-verify requests
  • prevent valid test-verify diagnostics from failing when the request body is read a second time
  • return a 400 response for malformed debug SMS JSON payloads

Validation

  • git diff --check
  • node node_modules\vitest\vitest.mjs run --config $env:TEMP\qryptchat-vitest-minimal.config.mjs "src/app/api/auth/debug-sms/route.test.js" (4 tests)

Billing

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

@ralyodio
ralyodio merged commit f740e47 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