Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
sastels committed Apr 18, 2024
1 parent 7ec198b commit 3db48e8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion app/aws/mocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,6 @@ def _sns_callback(body):
}


# TODO: can we just use the _sns_callback() function instead of this one?
def _pinpoint_callback(body):
return {
"Type": "Notification",
Expand Down
2 changes: 0 additions & 2 deletions app/celery/process_pinpoint_receipts_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@ def process_pinpoint_results(self, response):
current_app.logger.exception(f"Error processing Pinpoint results: {str(e)}")
self.retry(queue=QueueNames.RETRY)

return True


def determine_pinpoint_status(sns_status, provider_response):
if sns_status == "DELIVERED":
Expand Down

0 comments on commit 3db48e8

Please sign in to comment.