parent
eb18fda87b
commit
32bf4ae1d6
19 changed files with 2822 additions and 61 deletions
4
crud.py
4
crud.py
|
|
@ -1,10 +1,12 @@
|
|||
from typing import List
|
||||
|
||||
from lnbits.db import Database
|
||||
from lnbits.helpers import urlsafe_short_hash
|
||||
|
||||
from . import db
|
||||
from .models import Target
|
||||
|
||||
db = Database("ext_splitpayments")
|
||||
|
||||
|
||||
async def get_targets(source_wallet: str) -> List[Target]:
|
||||
rows = await db.fetchall(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue