Fix Typo in Migration Logging
This commit is contained in:
parent
89aa4a1de9
commit
f70b417b41
|
@ -224,7 +224,7 @@ async def m007_set_invoice_expiries(db):
|
||||||
)
|
)
|
||||||
).fetchall()
|
).fetchall()
|
||||||
if len(rows):
|
if len(rows):
|
||||||
logger.info(f"Mirgraion: Checking expiry of {len(rows)} invoices")
|
logger.info(f"Migration: Checking expiry of {len(rows)} invoices")
|
||||||
for i, (
|
for i, (
|
||||||
payment_request,
|
payment_request,
|
||||||
checking_id,
|
checking_id,
|
||||||
|
@ -238,7 +238,7 @@ async def m007_set_invoice_expiries(db):
|
||||||
invoice.date + invoice.expiry
|
invoice.date + invoice.expiry
|
||||||
)
|
)
|
||||||
logger.info(
|
logger.info(
|
||||||
f"Mirgraion: {i+1}/{len(rows)} setting expiry of invoice {invoice.payment_hash} to {expiration_date}"
|
f"Migration: {i+1}/{len(rows)} setting expiry of invoice {invoice.payment_hash} to {expiration_date}"
|
||||||
)
|
)
|
||||||
await db.execute(
|
await db.execute(
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user