Skip to content

Commit

Permalink
feat: update FBCA spec to support VDM v2 events
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepdsvs committed Aug 21, 2024
1 parent 0017cf7 commit cf6e879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v0/destinations/fb_custom_audience/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const batchingWithPayloadSize = (payload) => {
};

const getSchemaForEventMappedToDest = (message) => {
const mappedSchema = get(message, 'identifiers');
const mappedSchema = get(message, 'fields');

Check warning on line 52 in src/v0/destinations/fb_custom_audience/util.js

View check run for this annotation

Codecov / codecov/patch

src/v0/destinations/fb_custom_audience/util.js#L52

Added line #L52 was not covered by tests
if (!mappedSchema) {
throw new InstrumentationError(
'identifiers is required property for events mapped to destination ',
Expand Down

0 comments on commit cf6e879

Please sign in to comment.