1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00

Normalize settings payloads in client serializer

Closes #5117
This commit is contained in:
Matt Enlow 2015-04-08 13:03:56 -06:00
parent 83ccdaa11b
commit e20fdfebe8

View file

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