From 341901ec83e2d4391a87727af5615b35be3096e9 Mon Sep 17 00:00:00 2001 From: Carlosokumu Date: Mon, 28 Apr 2025 11:26:13 +0300 Subject: [PATCH] match new external sms endpoint --- remote/http/service.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/remote/http/service.go b/remote/http/service.go index 64b5259..3810af3 100644 --- a/remote/http/service.go +++ b/remote/http/service.go @@ -345,7 +345,7 @@ func (as *HTTPAccountService) SendUpsellSMS(ctx context.Context, inviterPhone, i } func (as *HTTPAccountService) SendAddressSMS(ctx context.Context, publicKey, originPhone string) error { - ep, err := url.JoinPath(config.ExtraSMSURL, "address") + ep, err := url.JoinPath(config.ExternalSMSURL, "address") if err != nil { return err } @@ -370,7 +370,7 @@ func (as *HTTPAccountService) SendAddressSMS(ctx context.Context, publicKey, ori } func (as *HTTPAccountService) SendPINResetSMS(ctx context.Context, admin, phone string) error { - ep, err := url.JoinPath(config.ExtraSMSURL, "pinreset") + ep, err := url.JoinPath(config.ExternalSMSURL, "pinreset") if err != nil { return err }