Skip to content

Commit

Permalink
Solving small bug
Browse files Browse the repository at this point in the history
  • Loading branch information
chiqeen03 committed May 4, 2020
1 parent d8479ff commit e710bf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chalicelib/resources/arcus_read_only.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def lambda_handler(event: str) -> dict:
response['topup'] = vars(response['topup'])
else:
response = client.get(f'/{path}')
return make_response(200, response)
return response
except InvalidAuth:
return make_response(401, dict(message='Invalid Authentication Token'))
except Exception as ex:
Expand Down

0 comments on commit e710bf9

Please sign in to comment.