From 22f6d116cea5287240d3dc859991e5df324a66b6 Mon Sep 17 00:00:00 2001 From: user Date: Tue, 5 Mar 2024 02:08:39 +0300 Subject: [PATCH] dev@locazia: fix misprint --- app/api/routes/content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/routes/content.py b/app/api/routes/content.py index b53c37b..e2a5b9f 100644 --- a/app/api/routes/content.py +++ b/app/api/routes/content.py @@ -10,7 +10,7 @@ async def s_api_v1_content_list(request): assert 0 < limit <= 1000, "Invalid limit" content_list = request.ctx.db_session.query(StoredContent).filter( - 'content' in StoredContent.type + StoredContent.type == 'local/content_bin' ).order_by(StoredContent.created.desc()).offset(offset).limit(limit).all() result = {} for content in content_list: