Files
cloud-host/backend
keyhan 7770c543fa fix(sms): unwrap MizbanSMS array-wrapped response to detect failures
The API returns its result inside a JSON array (e.g. "[1008]" for an
error, "[100002656565]" for a delivered message id). The previous parser
matched the raw string against the error map, so any array-wrapped error
slipped through as a false success and the caller got 201 with no SMS
sent. Unwrap the array (or bare/quoted value) before the error lookup.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 21:05:51 +03:30
..
2026-04-05 15:22:01 +03:30
2026-04-05 15:22:01 +03:30
2026-04-05 15:22:01 +03:30