Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
fix admin chat post fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
tnix100 authored Aug 20, 2024
1 parent f1ea572 commit 515cc8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rest_api/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,7 @@ async def get_chat_posts(chat_id, query_args: GetChatPostsQueryArgs):
# Return posts
return {
"error": False,
"autoget": app.supporter.parse_posts_v0(post, requester=request.user),
"autoget": app.supporter.parse_posts_v0(posts, requester=request.user),
"page#": query_args.page,
"pages": get_total_pages("posts", query)
}, 200
Expand Down

0 comments on commit 515cc8d

Please sign in to comment.