Rename get_webhooks to list_webhooks
This commit is contained in:
parent
7713d4928b
commit
3503a17e04
2 changed files with 4 additions and 5 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue