Skip to content

Commit

Permalink
add code in api for state and country in address
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienbeau committed Nov 20, 2020
1 parent a323ba4 commit 70c7bb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shopinvader/services/address.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ def _json_parser(self):
"opt_in",
"is_blacklisted:opt_out",
"vat",
("state_id:state", ["id", "name"]),
("country_id:country", ["id", "name"]),
("state_id:state", ["id", "name", "code"]),
("country_id:country", ["id", "name", "code"]),
"address_type",
"is_company",
"lang",
Expand Down

0 comments on commit 70c7bb4

Please sign in to comment.