Skip to content

Commit

Permalink
chore: minor refactot for ga4_v2
Browse files Browse the repository at this point in the history
  • Loading branch information
utsabc committed Jun 11, 2024
1 parent bb3d938 commit 97cd020
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/v0/destinations/ga4_v2/transform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ export function process(event: ProcessorTransformationRequest) {
const { message, destination } = event;
const { Config } = destination;

basicConfigvalidaiton(Config);

const eventPayload = message as RudderStackEvent;

if (!eventPayload.type) {
Expand All @@ -20,6 +18,8 @@ export function process(event: ProcessorTransformationRequest) {
return ga4Process(event);
}

basicConfigvalidaiton(Config);

// custom mappings flow
return handleCustomMappings(message, Config);
}

0 comments on commit 97cd020

Please sign in to comment.