logdb #56
| @ -1695,14 +1695,14 @@ 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.
 | ||||
| func (h *MenuHandlers) ResetTransactionAmount(ctx context.Context, sym string, input []byte) (resource.Result, error) { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user