logdb #56
| @ -1695,12 +1695,12 @@ func (h *MenuHandlers) InviteValidRecipient(ctx context.Context, sym string, inp | |||||||
| 		return res, fmt.Errorf("Data error encountered") | 		return res, fmt.Errorf("Data error encountered") | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	// TODO
 | 	_, err := h.accountService.SendUpsellSMS(ctx, sessionId, string(recipient)) | ||||||
| 	// send an invitation SMS
 | 	if err != nil { | ||||||
| 	// if successful
 | 		res.Content = l.Get("Your invite request for %s to Sarafu Network failed. Please try again later.", string(recipient)) | ||||||
| 	// res.Content = l.Get("Your invitation to %s to join Sarafu Network has been sent.",  string(recipient))
 | 		return res, nil | ||||||
| 
 | 	} | ||||||
| 	res.Content = l.Get("Your invite request for %s to Sarafu Network failed. Please try again later.", string(recipient)) | 	res.Content = l.Get("Your invitation to %s to join Sarafu Network has been sent.", string(recipient)) | ||||||
| 	return res, nil | 	return res, nil | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user