Skip to content

Commit

Permalink
[BugFix] Fix update SQS retention util (#4237)
Browse files Browse the repository at this point in the history
  • Loading branch information
gchhablani authored Dec 11, 2023
1 parent c2e1e57 commit 6edea67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/challenges/aws_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -791,11 +791,11 @@ def update_sqs_retention_period(challenge):
'MessageRetentionPeriod': sqs_retention_period
}
)
return {"message": response.json()}
return {"message": response}
except Exception as e:
logger.exception(e)
return {
"error": e.response,
"error": str(e),
}


Expand Down

0 comments on commit 6edea67

Please sign in to comment.