diff --git a/app/api/routes/content.py b/app/api/routes/content.py index 8a71aec..b53c37b 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( - StoredContent.type == "local/bin" + 'content' in StoredContent.type ).order_by(StoredContent.created.desc()).offset(offset).limit(limit).all() result = {} for content in content_list: