Skip to content

Commit

Permalink
Merge branch 'develop' into feat.tiktok-pinterest-clickId
Browse files Browse the repository at this point in the history
  • Loading branch information
ujjwal-ab authored Nov 10, 2023
2 parents dccaff0 + c02370e commit 4cdac3e
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 4cdac3e

Please sign in to comment.