mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-26 11:56:16 +02:00
fix issue #159
This commit is contained in:
@@ -8,8 +8,8 @@ from .models import Shop, Item
|
||||
async def create_shop(*, wallet_id: str) -> int:
|
||||
result = await db.execute(
|
||||
"""
|
||||
INSERT INTO shops (wallet, wordlist)
|
||||
VALUES (?, ?)
|
||||
INSERT INTO shops (wallet, wordlist, method)
|
||||
VALUES (?, ?, 'wordlist')
|
||||
""",
|
||||
(wallet_id, "\n".join(animals)),
|
||||
)
|
||||
|
Reference in New Issue
Block a user