This commit is contained in:
IgorVolochay
2026-09-01 11:58:13 +03:00
35 changed files with 2098 additions and 88 deletions
+1 -1
View File
@@ -335,4 +335,4 @@ class MongoWorker:
return BaseResponse(result="Card doesn't exist", error=True)
comments = await self.comments_data.find({"card_id": card_id}).sort("creation_date", -1).to_list(length=None)
comments = [Comment.model_validate(comment) for comment in comments]
return BaseResponse(result=comments)
return BaseResponse(result=comments)