Skip to content

Commit eee7f40

Browse files
committed
Fix minor Best Buy bug
1 parent acf53f9 commit eee7f40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stores/bestbuy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ export default async function bestbuy(url, interval) {
3737
else writeErrorToFile(store.replace(' ', ''), error);
3838
});
3939

40+
let doc, title, inventory, open_box, image
4041
if (res && res.status === 200) {
4142
let parser = new DomParser();
42-
let doc, title, inventory, open_box, image
4343

4444
doc = parser.parseFromString(res.data, 'text/html');
4545
if (url.includes('bestbuy.ca')) { // Check Best buy Canada

0 commit comments

Comments
 (0)