[BUG] use WalletType for get_wallet_for_key fn (#1896)
This commit is contained in:
parent
fe88320f08
commit
2ab18544c3
1 changed files with 3 additions and 1 deletions
|
|
@ -281,7 +281,9 @@ async def get_wallet(
|
|||
|
||||
|
||||
async def get_wallet_for_key(
|
||||
key: str, key_type: str = "invoice", conn: Optional[Connection] = None
|
||||
key: str,
|
||||
key_type: WalletType = WalletType.invoice,
|
||||
conn: Optional[Connection] = None,
|
||||
) -> Optional[Wallet]:
|
||||
row = await (conn or db).fetchone(
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue