Skip to content

Commit

Permalink
fix flake8 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jadmsaadaot committed Aug 3, 2023
1 parent 72d1f50 commit f442b26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion met-api/src/met_api/resources/widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,4 @@ def post(widget_id):
except (KeyError, ValueError) as err:
return str(err), HTTPStatus.INTERNAL_SERVER_ERROR
except ValidationError as err:
return str(err.messages), HTTPStatus.INTERNAL_SERVER_ERROR@cors_preflight('GET, POST, OPTIONS')
return str(err.messages), HTTPStatus.INTERNAL_SERVER_ERROR

0 comments on commit f442b26

Please sign in to comment.