From 24fa921258617ab493711350f33e7161d746feae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dni=20=E2=9A=A1?= Date: Thu, 8 Aug 2024 07:36:10 +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 5b8a9c861..fda352b41 100644 --- a/lnbits/db.py +++ b/lnbits/db.py @@ -54,7 +54,7 @@ def get_placeholder(model: Any, field: str) -> str: if type_ == datetime.datetime: return compat_timestamp_placeholder(field) else: - return "?" + return f":{field}" class Compat: