Skip to content

Commit

Permalink
sendgrid sending IPs that are not IPs
Browse files Browse the repository at this point in the history
  • Loading branch information
owocki committed Mar 4, 2020
1 parent 1cdd371 commit aac2b85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/marketing/webhookviews.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def process(request):
event=event['event'],
category=event.get('category', ''),
created_on=created_on,
ip_address=event.get('ip'),
ip_address=event.get('ip').split(':')[0],
)
events.append(email_event)
except Exception:
Expand Down

0 comments on commit aac2b85

Please sign in to comment.