diff --git a/src/index.ts b/src/index.ts index b5b488a..3fa4e52 100644 --- a/src/index.ts +++ b/src/index.ts @@ -767,7 +767,7 @@ const main = async (): Promise => { if (redisResponse) { const parsedResponse = JSON.parse(redisResponse); if ( - parsedResponse.slot && + parsedResponse && Math.abs(dlobProvider.getSlot() - parsedResponse.slot) < SLOT_STALENESS_TOLERANCE ) {