Skip to content

Commit

Permalink
chore: remove unnecessary comments
Browse files Browse the repository at this point in the history
Signed-off-by: Sai Sankeerth <[email protected]>
  • Loading branch information
Sai Sankeerth committed May 3, 2024
1 parent 12014cf commit 2d90774
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/v0/destinations/redis/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ const process = (event) => {
const { workspaceId } = metadata;
if (shouldSendDataAsJSON) {
// If redis should store information as JSON type
// JSON.SET <key> . <value>
return getTransformedPayloadForJSON({

Check warning on line 84 in src/v0/destinations/redis/transform.js

View check run for this annotation

Codecov / codecov/patch

src/v0/destinations/redis/transform.js#L84

Added line #L84 was not covered by tests
key: `${workspaceId}:${destinationId}:${message.context.sources.profiles_entity}:${message.context.sources.profiles_id_type}:${message.userId}`,
value: {
Expand All @@ -95,7 +94,6 @@ const process = (event) => {

if (shouldSendDataAsJSON) {
// If redis should store information as JSON type
// JSON.SET <key> . <value>
return getTransformedPayloadForJSON({

Check warning on line 97 in src/v0/destinations/redis/transform.js

View check run for this annotation

Codecov / codecov/patch

src/v0/destinations/redis/transform.js#L97

Added line #L97 was not covered by tests
key: `${keyPrefix}user:${lodash.toString(message.userId)}`,
value: jsonValue,
Expand Down

0 comments on commit 2d90774

Please sign in to comment.