Run add_missing_tags when testing and adding feed
This commit is contained in:
parent
ad674c81c9
commit
e612444737
2 changed files with 5 additions and 0 deletions
|
|
@ -72,6 +72,8 @@ async def add_webhook(webhook_name=Form(), webhook_url=Form()):
|
|||
# Add our new list of webhooks to the database.
|
||||
reader.set_tag((), "webhooks", webhooks) # type: ignore
|
||||
|
||||
add_missing_tags(reader)
|
||||
|
||||
return RedirectResponse(url="/", status_code=303)
|
||||
|
||||
# TODO: Show this error on the page.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue