chore: rename SendSMS to SendUpsellSMS

This commit is contained in:
Carlosokumu 2025-04-01 14:55:03 +03:00
parent 417e7f0179
commit 5b41c8dc64
Signed by: carlos
GPG Key ID: 7BD6BC8160A5C953
2 changed files with 2 additions and 2 deletions

View File

@ -17,5 +17,5 @@ type AccountService interface {
TokenTransfer(ctx context.Context, amount, from, to, tokenAddress string) (*models.TokenTransferResponse, error)
CheckAliasAddress(ctx context.Context, alias string) (*models.AliasAddress, error)
RequestAlias(ctx context.Context, hint string, publicKey string) (*models.RequestAliasResult, error)
SendSMS(ctx context.Context, inviterPhone, inviteePhone string) (*models.SendSMSResponse, error)
SendUpsellSMS(ctx context.Context, inviterPhone, inviteePhone string) (*models.SendSMSResponse, error)
}

View File

@ -317,7 +317,7 @@ func requestEnsAlias(ctx context.Context, publicKey string, hint string) (*model
// Parameters:
// - inviterPhone: The user initiating the SMS.
// - inviteePhone: The number being invited to Sarafu.
func (as *HTTPAccountService) SendSMS(ctx context.Context, inviterPhone, inviteePhone string) (*models.SendSMSResponse, error) {
func (as *HTTPAccountService) SendUpsellSMS(ctx context.Context, inviterPhone, inviteePhone string) (*models.SendSMSResponse, error) {
var r models.SendSMSResponse
// Create request payload