From 51279d673802c7b4d6ba134897fbc9b259482828 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Tue, 6 Aug 2024 15:49:54 +0200 Subject: [PATCH] fix get_placeholder --- lnbits/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnbits/db.py b/lnbits/db.py index 28887292d..5b8a9c861 100644 --- a/lnbits/db.py +++ b/lnbits/db.py @@ -52,7 +52,7 @@ def compat_timestamp_placeholder(key: str): def get_placeholder(model: Any, field: str) -> str: type_ = model.__fields__[field].type_ if type_ == datetime.datetime: - return compat_timestamp_placeholder() + return compat_timestamp_placeholder(field) else: return "?"