mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Don't send HTML on post save.
fixes #3956 - adjusts post serialiser to not send HTML content
This commit is contained in:
parent
12cb93e333
commit
60ed88f804
1 changed files with 2 additions and 0 deletions
|
@ -54,6 +54,8 @@ var PostSerializer = ApplicationSerializer.extend(DS.EmbeddedRecordsMixin, {
|
|||
|
||||
// Don't ever pass uuid's
|
||||
delete data.uuid;
|
||||
// Don't send HTML
|
||||
delete data.html;
|
||||
|
||||
hash[root] = [data];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue