mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Fixed validation error when creating new tag from PSM
refs #10438 - Expanded required fields for related tags to have either one of 'id', 'slug' or a 'name' field
This commit is contained in:
parent
19643c75dd
commit
96cdde80b9
1 changed files with 5 additions and 1 deletions
|
@ -155,7 +155,11 @@
|
|||
"maxLength": 24
|
||||
}
|
||||
},
|
||||
"required": ["id"]
|
||||
"oneOf": [
|
||||
{"required": ["id"]},
|
||||
{"required": ["name"]},
|
||||
{"required": ["slug"]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue