Merge branch 'app' of https://github.com/IgorVolochay/thisORthat into app
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user