mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +03:00
Fixed post.tags validation schema
refs #10438 - Change oneOf to anyOf to allow any of the required fields
This commit is contained in:
parent
96cdde80b9
commit
28986b3b77
@ -155,7 +155,7 @@
|
||||
"maxLength": 24
|
||||
}
|
||||
},
|
||||
"oneOf": [
|
||||
"anyOf": [
|
||||
{"required": ["id"]},
|
||||
{"required": ["name"]},
|
||||
{"required": ["slug"]}
|
||||
|
Loading…
Reference in New Issue
Block a user