fix datetime conversion

This commit is contained in:
callebtc
2022-12-02 17:38:36 +01:00
parent 79ffbb7bc2
commit 4e69924c9c
3 changed files with 16 additions and 11 deletions
+2 -1
View File
@@ -348,6 +348,7 @@ async def delete_expired_invoices(
"""
)
# payments
# --------
@@ -399,7 +400,7 @@ async def create_payment(
if extra and extra != {} and type(extra) is dict
else None,
webhook,
expiration_date,
db.datetime_to_timestamp(expiration_date),
),
)