Skip to content

Commit

Permalink
fix(advertising): Fix incorrect call to apsSlotType without 'this' re…
Browse files Browse the repository at this point in the history
…ference
  • Loading branch information
Travis Czerw committed Aug 28, 2024
1 parent b26729e commit ec0d057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Advertising.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export default class Advertising {
Advertising.queueForGPT(() => {
window.apstag.setDisplayBids();
requestManager.aps = true; // signals that APS request has completed
this.refreshSlots([slots[id][apsSlotType]], requestManager); // checks whether both APS and Prebid have returned
this.refreshSlots([slots[id][this.apsSlotType]], requestManager); // checks whether both APS and Prebid have returned
}, this.onError);
}
);
Expand Down

0 comments on commit ec0d057

Please # to comment.