Rename get_webhooks to list_webhooks

This commit is contained in:
2022-12-20 01:10:35 +01:00
parent 7713d4928b
commit 3503a17e04
2 changed files with 4 additions and 5 deletions

View File

@ -47,7 +47,7 @@ def get_reader(custom_location: str = "") -> Reader:
return make_reader(url=db_location)
def get_webhooks(reader: Reader) -> list[dict[str, str]]:
def list_webhooks(reader: Reader) -> list[dict[str, str]]:
"""
Get current webhooks from the database if they exist otherwise use an empty list.