fix template typos and also update settings in memory after a admin PUT

This commit is contained in:
dni ⚡
2022-11-30 23:47:52 +01:00
parent e740ad3cf8
commit 86d2780c9f
6 changed files with 12 additions and 19 deletions
+2 -2
View File
@@ -232,8 +232,8 @@ async def get_wallet_payment(
async def get_latest_payments_by_extension(ext_name: str, ext_id: str, limit: int = 5):
rows = await db.fetchall(
f"""
SELECT * FROM apipayments
WHERE pending = 'false'
SELECT * FROM apipayments
WHERE pending = 'false'
AND extra LIKE ?
AND extra LIKE ?
ORDER BY time DESC LIMIT {limit}