Skip to content

Commit

Permalink
Send 'from' field to Junebug for SMS
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaitlyn Crawford committed Dec 13, 2017
1 parent f4fef75 commit 5f07d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion malaria24/ona/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def send_sms(to, content):
('http', site.domain, '/api/v1/event/', '', '', ''))
event_token = Token.objects.get(user__username='junebug')
data = {'to': to, 'content': content, 'event_url': event_url,
'event_auth_token': event_token.key}
'event_auth_token': event_token.key, 'from': '*25388'}

data = json.dumps(data)
r = requests.post(
Expand Down

0 comments on commit 5f07d60

Please sign in to comment.