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