From 0c84a7ae111a3e4cc0c5de11bcf333d0fa7245c3 Mon Sep 17 00:00:00 2001 From: gauthammariyappan <60974224+gauthammariyappan@users.noreply.github.com> Date: Tue, 9 Apr 2024 17:33:40 +0530 Subject: [PATCH] Update random.js --- random.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/random.js b/random.js index f07af9c..f6a46cc 100644 --- a/random.js +++ b/random.js @@ -28,10 +28,11 @@ function getAppKey(){ const currentTime = new Date().getSeconds(); const isEven = currentTime % 2 === 0; if (isEven) { - sessionStorage.setItem('appKey', '27a4a87d6e27e86a7cd64de89cb3ec8d');//Delivery Site + appKey = '27a4a87d6e27e86a7cd64de89cb3ec8d';//Delivery Site } else { - sessionStorage.setItem('appKey', 'c012eed591418a9aa7e1655a6bb83039' );//zylker + appKey = 'c012eed591418a9aa7e1655a6bb83039';//zylker } + sessionStorage.setItem('appKey', appKey); } return appKey;