fix null error for winnerId and groupId in match import

This commit is contained in:
gelbeinhalb
2026-01-05 11:46:26 +01:00
parent 7f6c1cb9a6
commit 7b2314a25e

View File

@@ -68,7 +68,10 @@
"type": "string" "type": "string"
}, },
"groupId": { "groupId": {
"type": "string" "anyOf": [
{"type": "string"},
{"type": "null"}
]
}, },
"playerIds": { "playerIds": {
"type": "array", "type": "array",
@@ -77,7 +80,10 @@
} }
}, },
"winnerId": { "winnerId": {
"type": "string" "anyOf": [
{"type": "string"},
{"type": "null"}
]
} }
}, },
"required": [ "required": [
@@ -85,8 +91,7 @@
"name", "name",
"createdAt", "createdAt",
"groupId", "groupId",
"playerIds", "playerIds"
"winnerId"
] ]
} }
} }