We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e107fd8 commit db25329Copy full SHA for db25329
1 file changed
rating_api/routes/comment.py
@@ -182,6 +182,7 @@ async def get_comments(
182
result.comments.sort(key=lambda comment: comment.create_ts, reverse=True)
183
result.total = len(result.comments)
184
result.comments = [CommentGet.model_validate(comment) for comment in result.comments]
185
+ result.comments.sort(key=lambda comment: comment.create_ts, reverse=True)
186
return result
187
188
0 commit comments