Skip to content

Commit

Permalink
fix: minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
manish339k committed Feb 1, 2025
1 parent 8286f8b commit a59fab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v0/destinations/customerio_audience/transform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const validateEvent = (event: CustomerIORouterRequestType): boolean => {
}

const audienceId = event?.connection?.config?.destination?.audienceId;
if (!isDefinedAndNotNullAndNotEmpty(audienceId)) {
if (!audienceId) {
throw new InstrumentationError('audienceId is required, aborting.');
}

Expand Down

0 comments on commit a59fab2

Please sign in to comment.