Skip to content

Commit

Permalink
chore: address commentsx1
Browse files Browse the repository at this point in the history
  • Loading branch information
yashasvibajpai committed Apr 16, 2024
1 parent a3e56f4 commit 9408843
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -31,5 +31,4 @@ steps:
template: |
const response = $.defaultRequestConfig();
response.body.JSON = $.outputs.prepareData
console.log(JSON.stringify(response));
response

0 comments on commit 9408843

Please sign in to comment.