Skip to content

Commit

Permalink
chore(formatting): Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Czerw committed Aug 22, 2024
1 parent ef4323e commit b26729e
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions src/Advertising.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,16 +97,16 @@ export default class Advertising {
if (this.isAPSUsed) {
try {
window.apstag.fetchBids(
{
slots: queue.map(({ id }) => slots[id][this.apsSlotType]),
},
() => {
Advertising.queueForGPT(() => {
window.apstag.setDisplayBids();
requestManager.aps = true; // signals that APS request has completed
this.refreshSlots(selectedSlots, requestManager); // checks whether both APS and Prebid have returned
}, this.onError);
}
{
slots: queue.map(({ id }) => slots[id][this.apsSlotType]),
},
() => {
Advertising.queueForGPT(() => {
window.apstag.setDisplayBids();
requestManager.aps = true; // signals that APS request has completed
this.refreshSlots(selectedSlots, requestManager); // checks whether both APS and Prebid have returned
}, this.onError);
}
);
} catch (error) {
this.onError(error);
Expand Down Expand Up @@ -172,16 +172,16 @@ export default class Advertising {
if (this.isAPSUsed) {
try {
window.apstag.fetchBids(
{
slots: [slots[id][this.apsSlotType]],
},
() => {
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.onError);
}
{
slots: [slots[id][this.apsSlotType]],
},
() => {
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.onError);
}
);
} catch (error) {
this.onError(error);
Expand Down

0 comments on commit b26729e

Please sign in to comment.