Skip to content

Commit

Permalink
Merge pull request #65 from val92130/develop
Browse files Browse the repository at this point in the history
2.8.3 - Fix api url
  • Loading branch information
Valentin Chatelain authored Oct 19, 2017
2 parents f325cf9 + 9c085f8 commit 7cf31bf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bot/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "Supreme Auto-Checkout bot",
"description": "Supreme Open-Source add to cart bot",
"version": "2.8.2",
"version": "2.8.3",
"background": {
"scripts": ["background.js"]
},
Expand Down
2 changes: 1 addition & 1 deletion bot/src/app/components/shops/supreme/pages/Products.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default class Products extends Component {
}

handleBuyProduct(product) {
chrome.tabs.create({ url: `http://supremenewyork.com/${product.url}` });
chrome.tabs.create({ url: product.url });
}

render() {
Expand Down
2 changes: 1 addition & 1 deletion bot/src/app/components/shops/supreme/pages/Restocks.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class Restocks extends Component {
const text = x.type === 'new' ? `${x.product.name} in ${x.product.color} dropped` : `${x.product.name} in ${x.product.color} restocked`;
return (
<ListItem
onClick={() => window.open(`http://supremenewyork.com/${x.product.url}`)}
onClick={() => window.open(x.product.url)}
key={i}
leftAvatar={<Avatar icon={icon} backgroundColor={color} />}
primaryText={text}
Expand Down
2 changes: 1 addition & 1 deletion bot/src/app/version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default '2.8.2';
export default '2.8.3';

0 comments on commit 7cf31bf

Please sign in to comment.