Merge app brach to frontend #1

Merged
IgorVolochay merged 42 commits from app into frontend 2026-08-13 06:14:20 +00:00
Showing only changes of commit 02c098a6ee - Show all commits
+1 -1
View File
@@ -67,7 +67,7 @@ class MongoWorker:
{"$sample": {"size": amount}}]
raw_items = list(self.game_data.aggregate(pipeline))
if raw_items:
if not raw_items:
validated_items = [Card.model_validate(item) for item in raw_items]
return validated_items
else: