Skip to content

Commit

Permalink
When sending a get_info request, send a real true/false for the is_pa…
Browse files Browse the repository at this point in the history
…rent_asin instead of a string containing "true" or "false"
  • Loading branch information
FMaz008 committed Oct 15, 2024
1 parent 5c5ae0d commit 73ba00f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/bootloader.js
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ function getAllProductsData() {
const obj = arrObj[i];
const asin = getAsinFromDom(obj);
const btn = document.querySelector(`input[data-asin="${asin}"]`);
const isParent = btn.dataset.isParentAsin;
const isParent = btn.dataset.isParentAsin == "true";
const enrollmentGUID = btn.dataset.recommendationId.match(/#vine\.enrollment\.([a-f0-9-]+)/i)[1];
const title = getTitleFromDom(obj);
const thumbnail = getThumbnailURLFromDom(obj);
Expand Down

0 comments on commit 73ba00f

Please sign in to comment.