This commit is contained in:
2022-12-20 01:02:36 +01:00
parent 9079018672
commit 37171a1707

View File

@ -181,9 +181,6 @@ async def create_feed(feed_url: str = Form(), webhook_dropdown: str = Form()) ->
if hook["name"] == webhook_dropdown: if hook["name"] == webhook_dropdown:
webhook_url = hook["url"] webhook_url = hook["url"]
break break
else:
# TODO: Show this error on the page.
return {"error": "Webhook not found."}
if webhook_url is None: if webhook_url is None:
# TODO: Show this error on the page. # TODO: Show this error on the page.