RELEASE 1.0! #5

Merged
IgorVolochay merged 95 commits from prebuild into main 2026-09-09 08:45:32 +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: