dev@locazia: fix misprint

This commit is contained in:
user 2024-03-05 02:08:39 +03:00
parent 0dbc82a76f
commit 22f6d116ce
1 changed files with 1 additions and 1 deletions

View File

@ -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: