From 2f30b671791ab9d3e6b9157c96aca347baa9476e Mon Sep 17 00:00:00 2001 From: Ashis Date: Thu, 8 Feb 2024 16:41:11 +0530 Subject: [PATCH] fix: minor fixes --- packages/restapi/src/lib/utils/parseSettings.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/restapi/src/lib/utils/parseSettings.ts b/packages/restapi/src/lib/utils/parseSettings.ts index 5411d55a4..03e09e7ec 100644 --- a/packages/restapi/src/lib/utils/parseSettings.ts +++ b/packages/restapi/src/lib/utils/parseSettings.ts @@ -7,9 +7,9 @@ export const parseSettings = (settings: string): NotificationSettingType[] => { } catch (error) { settingsObj = settings; } - let parsedSettings: NotificationSettingType[] = [] + const parsedSettings: NotificationSettingType[] = [] for(let i = 0; i< settingsObj.length; i++){ - let setting = settingsObj[i]; + const setting = settingsObj[i]; if(setting.type == 1){ parsedSettings.push({ type: setting.type,