logdb #56

Merged
Alfred-mk merged 50 commits from logdb into master 2025-04-29 09:15:51 +02:00
Showing only changes of commit 5f24ff3b1b - Show all commits

View File

@ -1695,13 +1695,13 @@ func (h *MenuHandlers) InviteValidRecipient(ctx context.Context, sym string, inp
return res, fmt.Errorf("Data error encountered")
}
// TODO
// send an invitation SMS
// if successful
// res.Content = l.Get("Your invitation to %s to join Sarafu Network has been sent.", string(recipient))
_, err := h.accountService.SendUpsellSMS(ctx, sessionId, string(recipient))
if err != nil {
res.Content = l.Get("Your invite request for %s to Sarafu Network failed. Please try again later.", string(recipient))
return res, nil
}
res.Content = l.Get("Your invitation to %s to join Sarafu Network has been sent.", string(recipient))
return res, nil
}
// ResetTransactionAmount resets the transaction amount and invalid flag.