Skip to content

Commit

Permalink
Merge branch 'develop' into feat.marketoConfigUpdate
Browse files Browse the repository at this point in the history
  • Loading branch information
anantjain45823 authored Nov 9, 2023
2 parents b71bf43 + c02370e commit bb387a5
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 bb387a5

Please sign in to comment.