Skip to content

Commit

Permalink
control for when billing country is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
kjgarza committed Jun 5, 2019
1 parent 9acf39a commit acc0eb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/transforms/billing-information.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default DS.Transform.extend({
postCode: deserialized.postCode,
department: deserialized.department,
organization: deserialized.organization,
country: deserialized.country.code
country: deserialized.country ? deserialized.country.code : ""
};
} else {
return null;
Expand Down

0 comments on commit acc0eb1

Please sign in to comment.