mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-07 18:55:42 +00:00
fix: centralized on rabbitmq for sms
This commit is contained in:
@@ -265,10 +265,10 @@ export class OtpService {
|
||||
|
||||
/**
|
||||
* SMS half of {@link dispatchEmail}; same swallow-and-report contract. Sent
|
||||
* via NotificationsService's direct-HTTP Ozeking strategy — the same
|
||||
* transport the notification system uses — rather than the RabbitMQ
|
||||
* `SMS_SERVICE` queue, so `queued: true` here means the gateway accepted the
|
||||
* request, not just that a broker took ownership of the message.
|
||||
* via NotificationsService's `directSend`, which now routes through the
|
||||
* same RabbitMQ `SMS_SERVICE` queue as every other SMS in freight-api, so
|
||||
* `queued: true` here means the broker confirmed ownership of the message,
|
||||
* not that the carrier delivered it.
|
||||
*/
|
||||
private async dispatchSms(
|
||||
phone: string,
|
||||
|
||||
Reference in New Issue
Block a user