Prebuild release 1.0 #2

Merged
IgorVolochay merged 48 commits from frontend into prebuild 2026-08-13 09:04:08 +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: