mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Allowed comment_id
and uuid
in post API input
refs https://github.com/TryGhost/Ghost/pull/11462 Allows `comment_id` and `uuid` to be passed in post `add`/`edit` API calls instead of failing requests with validation error, though both properties are stripped out in serializer as we don't allow editing them.
This commit is contained in:
parent
52e23192c0
commit
2d9963fbd8
2 changed files with 12 additions and 0 deletions
|
@ -121,6 +121,12 @@
|
|||
"id": {
|
||||
"strip": true
|
||||
},
|
||||
"uuid": {
|
||||
"strip": true
|
||||
},
|
||||
"comment_id": {
|
||||
"strip": true
|
||||
},
|
||||
"author": {
|
||||
"strip": true
|
||||
},
|
||||
|
|
|
@ -117,6 +117,12 @@
|
|||
"id": {
|
||||
"strip": true
|
||||
},
|
||||
"uuid": {
|
||||
"strip": true
|
||||
},
|
||||
"comment_id": {
|
||||
"strip": true
|
||||
},
|
||||
"author": {
|
||||
"strip": true
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue