This commit is contained in:
fiatjaf
2021-03-17 09:02:47 -03:00
parent b5c4fe905f
commit 1a460a2ce5

View File

@@ -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)),
)