From f0f49580a9620d92dc6fbf871cd0aa60af8b7a7b Mon Sep 17 00:00:00 2001 From: Pankaj Sha Date: Sat, 18 Jan 2025 18:14:38 +0530 Subject: [PATCH] fix: add strict checking --- services/onboardingExtension.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/onboardingExtension.ts b/services/onboardingExtension.ts index e8f6bebe1..f2b21fea9 100644 --- a/services/onboardingExtension.ts +++ b/services/onboardingExtension.ts @@ -63,7 +63,7 @@ export const validateOnboardingExtensionUpdateRequest = async ( }; } - if(extensionRequest.state != REQUEST_STATE.PENDING){ + if(extensionRequest.state !== REQUEST_STATE.PENDING){ await addLog(logType.PENDING_REQUEST_CAN_BE_UPDATED, { state: extensionRequest.state }, { message:PENDING_REQUEST_UPDATED }