0
Fork 0
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:
Rish 2019-10-17 12:22:50 +05:30 committed by Rishabh Garg
parent 52e23192c0
commit 2d9963fbd8
2 changed files with 12 additions and 0 deletions

View file

@ -121,6 +121,12 @@
"id": {
"strip": true
},
"uuid": {
"strip": true
},
"comment_id": {
"strip": true
},
"author": {
"strip": true
},

View file

@ -117,6 +117,12 @@
"id": {
"strip": true
},
"uuid": {
"strip": true
},
"comment_id": {
"strip": true
},
"author": {
"strip": true
},