Skip to content

Commit

Permalink
@ryan i think you meant to do this?
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Hoddes committed Dec 7, 2012
1 parent 30cebdc commit 3f2dbad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sendgrid/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def handle_batched_events_request(request):

body = request.raw_post_data

events = [json.loads(line) for line in request.body.splitlines()]
events = [json.loads(line) for line in body.splitlines()]
for event in events:
create_event_from_sendgrid_params(event)

Expand Down

1 comment on commit 3f2dbad

@RyanBalfanz
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.