0
Fork 0
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:
Hannah Wolfe 2015-04-08 22:31:50 +01:00
commit af4e29359d

View file

@ -27,6 +27,8 @@ var SettingSerializer = ApplicationSerializer.extend({
payload[setting.key] = setting.value;
});
payload = this.normalize(type, payload);
return [payload];
},