Skip to content

Commit

Permalink
fix: minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
akp111 committed Feb 8, 2024
1 parent 96458ee commit 2f30b67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/restapi/src/lib/utils/parseSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2f30b67

Please sign in to comment.