Skip to content

Commit

Permalink
backend: fix method arguments causing falcon errors
Browse files Browse the repository at this point in the history
if the body was not given as argument, falcon caused spurious error
messages
  • Loading branch information
wagner-intevation committed Aug 10, 2023
1 parent deea927 commit f0e3d37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion intelmq_webinput_csv/serve.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ def mailgen_preview(body, request, response):


@hug.get(ENDPOINT_PREFIX + '/api/bots/available', requires=session.token_authentication)
def bots_available() -> dict:
def bots_available(body) -> dict:
"""
Checks if bots are available: IntelMQ Core version supports the feature and at least one bot is configured.
"""
Expand Down

0 comments on commit f0e3d37

Please # to comment.