From 56ac3c9af3923515916781ce704d4d5b24f561fd Mon Sep 17 00:00:00 2001 From: Artem Tsyrulnikov Date: Thu, 22 Jan 2026 14:41:35 +0300 Subject: [PATCH] fix --- src/adapter/postgres.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adapter/postgres.py b/src/adapter/postgres.py index 439e403..a107c78 100644 --- a/src/adapter/postgres.py +++ b/src/adapter/postgres.py @@ -474,7 +474,7 @@ class Postgres(DatabaseBase): query = query.filter(created_at__lte=date_to) if has_post: - query = query.filter(post__isnull=False) + query = query.filter(post_id__isnull=False) return ( await query.prefetch_related(