Skip to content

Commit

Permalink
Some more cleanup...
Browse files Browse the repository at this point in the history
  • Loading branch information
oiramalli committed Jul 22, 2016
1 parent 310fd23 commit 8921274
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/serializer.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ module.exports = function (modelName, data) {
});
let Serializer = new JSONAPISerializer(modelName, {
attributes,
keyForAttribute : sails.config.jsonapi.keyForAttribute,
pluralizeType : sails.config.jsonapi.pluralizeType
keyForAttribute: sails.config.jsonapi.keyForAttribute,
pluralizeType : sails.config.jsonapi.pluralizeType
});
try {
data = JSON.parse(JSON.stringify(data));
Expand Down

0 comments on commit 8921274

Please sign in to comment.