Skip to content

Commit

Permalink
small bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
walmat committed Jan 12, 2019
1 parent 6053585 commit 9dc1db9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions packages/task-runner/src/shopify/classes/checkout.js
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,8 @@ class Checkout {
});
}

console.log(res.body);

const { statusCode, body } = res;
const { shipping_rates } = body;

Expand Down
2 changes: 1 addition & 1 deletion packages/task-runner/src/shopify/classes/parsers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function getSpecialParser(site) {
case 'DSM SG':
case 'DSM JP':
case 'DSM US':
case 'DSM EU': {
case 'DSM UK': {
return (...params) => new DsmParser(...params);
}
case 'Yeezy Supply':
Expand Down
4 changes: 2 additions & 2 deletions packages/task-runner/src/shopify/classes/utils/forms.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ const addToCart = (variant, site) => {
return {
id: variant,
add: '',
'properties[_HASH]': '256782482029',
'properties[_HASH]': 256782537687,
};
}
case 'DSM EU': {
case 'DSM UK': {
return {
id: variant,
add: '',
Expand Down

0 comments on commit 9dc1db9

Please sign in to comment.