Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:rudderlabs/rudder-transformer in…
Browse files Browse the repository at this point in the history
…to feat.enrich-geo-location
  • Loading branch information
Sai Sankeerth committed Nov 9, 2023
2 parents 2c44999 + c02370e commit ee08e4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v0/sources/shopify/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const getDataFromRedis = async (key, metricMetadata) => {
...metricMetadata,
});
const redisData = await RedisDB.getVal(key);
if (redisData === null) {
if (redisData === null || (typeof redisData === "object" && Object.keys(redisData).length === 0)) {
stats.increment('shopify_redis_no_val', {
...metricMetadata,
});
Expand Down

0 comments on commit ee08e4b

Please sign in to comment.