mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Merge pull request #5118 from novaugust/normalize_settings
Normalize settings payloads in client serializer
This commit is contained in:
commit
af4e29359d
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,8 @@ var SettingSerializer = ApplicationSerializer.extend({
|
|||
payload[setting.key] = setting.value;
|
||||
});
|
||||
|
||||
payload = this.normalize(type, payload);
|
||||
|
||||
return [payload];
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue