Skip to content

Commit

Permalink
refactor: revert formattings
Browse files Browse the repository at this point in the history
  • Loading branch information
yashasvibajpai committed Oct 18, 2023
1 parent e329c5e commit adc726e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/v0/destinations/clevertap/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ const processRouterDest = (inputs, reqMetadata) => {
batchedEvents.forEach((batch) => {
const batchedRequest = generateClevertapBatchedPayload(batch.events, batch.destination);
batchResponseList.push(
getSuccessRespEvents(batchedRequest, batch.metadata, batch.destination),
getSuccessRespEvents(batchedRequest, batch.metadata, batch.destination)
);
});
}
Expand Down
10 changes: 5 additions & 5 deletions src/v0/util/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ const hashToSha256 = (value) => sha256(value);

// Check what type of gender and convert to f or m
const getFbGenderVal = (gender) => {
if (typeof gender !== 'string') {
if (typeof (gender) !== 'string') {
return null;
}
if (
Expand Down Expand Up @@ -2050,11 +2050,11 @@ const getAuthErrCategoryFromStCode = (status) => {
return '';
};

const validateEventType = (event) => {
if (!event || typeof event !== 'string') {
throw new InstrumentationError('Event is a required field and should be a string');
const validateEventType = event => {
if(!event || typeof event !== "string") {
throw new InstrumentationError("Event is a required field and should be a string");
}
};
}
// ========================================================================
// EXPORTS
// ========================================================================
Expand Down

0 comments on commit adc726e

Please sign in to comment.