Skip to content

Commit

Permalink
Update src/insert/spacefinder/article.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Jake Lee Kennedy <jake.kennedy@guardian.co.uk>
  • Loading branch information
emma-imber and Jakeii committed May 15, 2024
1 parent 73d517d commit 40d0aad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/insert/spacefinder/article.ts
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ const addMobileSubsequentInlineAds = (

const insertAds: SpacefinderWriter = async (paras) => {
const slots = paras.map(async (para, i) => {
const name = `inline${i}`;
const name = `inline${i + 1}`;
const type = 'inline';
const slot = await insertSlotAtPara(para, name, type, 'inline');
return fillSlot(
Expand Down

0 comments on commit 40d0aad

Please sign in to comment.