fix issue #159
This commit is contained in:
parent
b5c4fe905f
commit
1a460a2ce5
1 changed files with 2 additions and 2 deletions
|
|
@ -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)),
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue