From 940884324d39574d6e10e7debc0e1815223fd4f6 Mon Sep 17 00:00:00 2001 From: Yashasvi Bajpai <33063622+yashasvibajpai@users.noreply.github.com> Date: Tue, 16 Apr 2024 11:28:52 +0530 Subject: [PATCH] chore: address commentsx1 --- .../yandex_metrica_offline_events/procWorkflow.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/cdk/v2/destinations/yandex_metrica_offline_events/procWorkflow.yaml b/src/cdk/v2/destinations/yandex_metrica_offline_events/procWorkflow.yaml index 18cd15d42d..453b4dd2dc 100644 --- a/src/cdk/v2/destinations/yandex_metrica_offline_events/procWorkflow.yaml +++ b/src/cdk/v2/destinations/yandex_metrica_offline_events/procWorkflow.yaml @@ -15,7 +15,7 @@ steps: template: | let messageType = .message.type; $.assert(messageType, "message Type is not present. Aborting message."); - $.assert(.message.type.toLowerCase() ==='identify' || .message.type.toLowerCase() ==='track', "Event type " + .message.type.toLowerCase() + " is not supported. Aborting message."); + $.assert(.message.type.toLowerCase() ==='identify', "Event type " + .message.type.toLowerCase() + " is not supported. Aborting message."); $.assert(.message.traits || .message.properties, "Message traits/properties not present. Aborting message."); - name: prepareData @@ -31,5 +31,4 @@ steps: template: | const response = $.defaultRequestConfig(); response.body.JSON = $.outputs.prepareData - console.log(JSON.stringify(response)); response