Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
Merge pull request #888 from Shinsina/support-multiple-items
Browse files Browse the repository at this point in the history
Do not error if `mindfulCreativeId` is not found in core-native-x-fetch, marko-newsletters-native-x
  • Loading branch information
brandonbk authored Mar 14, 2024
2 parents 964000a + b45ee18 commit 5ef9a9b
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,8 @@ $ const timestamp = date ? dateToTimestamp(date) : undefined;
req,
debug,
})>
$ const mindfulCreativeId = get(resolved, "data.creative.mindfulCreativeId")
$ if (resolved.data && !mindfulCreativeId) throw new Error('Unable to parse mindful creative id from ad response.');
<${input.renderBody}
data=resolved.data
creative-id=mindfulCreativeId
tenant=mindfulTenant
/>
</marko-web-resolve>
Expand Down

0 comments on commit 5ef9a9b

Please sign in to comment.