Skip to content

Commit

Permalink
remove redundant return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
zachmann committed Feb 16, 2024
1 parent f15d411 commit fe485c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/endpoints/notification/calendar/calendar.go
Original file line number Diff line number Diff line change
Expand Up @@ -617,8 +617,8 @@ func createAlarms(event *ics.VEvent, info tree.MytokenEntry, triggerDaysBeforeEx
event.Components = append(event.Components, a)
}
}
return
}

func createAlarm(daysBeforeExpiration int, info tree.MytokenEntry) *ics.VAlarm {
now := time.Now()
expiresAt := info.ExpiresAt.Time()
Expand Down

0 comments on commit fe485c1

Please sign in to comment.