Skip to content

Commit

Permalink
chore: more linting
Browse files Browse the repository at this point in the history
  • Loading branch information
leehanchung authored and hurshd0 committed Apr 26, 2020
1 parent 8895bb9 commit ac47045
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ async def get_gnews() -> JSONResponse:
except DataReadingError as ex:
_logger.warning(f"Endpoint: /news --- GET --- {ex}")
return JSONResponse(
status_code=404, content={"message": f"[Error] get /News API: {ex}"}
status_code=404,
content={"message": f"[Error] get /News API: {ex}"}
)

return json_data
Expand Down

0 comments on commit ac47045

Please sign in to comment.