fix null error for winnerId and groupId in match import
This commit is contained in:
@@ -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"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user