Can fetch balance from mem.space

This commit is contained in:
benarc
2020-12-03 22:56:34 +00:00
parent 2db3325727
commit 257c9c1c64
4 changed files with 81 additions and 92 deletions
-1
View File
@@ -137,7 +137,6 @@ async def get_payment(payment_id: str) -> Payments:
async def get_payments(user: str) -> List[Payments]:
rows = await db.fetchall("SELECT * FROM payments WHERE user = ?", (user,))
print(rows[0])
return [Payments.from_row(row) for row in rows]