Skip to content

Commit

Permalink
initial fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rduarte-as committed Nov 14, 2019
1 parent 651c6b8 commit 54e5f92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/serializer.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default DS.JSONSerializer.extend(DS.EmbeddedRecordsMixin, {
payloadKey = this.keyForAttribute(key);
}

json[payloadKey] = value;
json[payloadKey] = typeof value !== 'undefined' ? value : null;
}
},

Expand Down

0 comments on commit 54e5f92

Please sign in to comment.