mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-27 04:16:18 +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:
|
async def create_shop(*, wallet_id: str) -> int:
|
||||||
result = await db.execute(
|
result = await db.execute(
|
||||||
"""
|
"""
|
||||||
INSERT INTO shops (wallet, wordlist)
|
INSERT INTO shops (wallet, wordlist, method)
|
||||||
VALUES (?, ?)
|
VALUES (?, ?, 'wordlist')
|
||||||
""",
|
""",
|
||||||
(wallet_id, "\n".join(animals)),
|
(wallet_id, "\n".join(animals)),
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user