Skip to content

Commit

Permalink
Add server testcases for store/setting_store.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Kshitij-Katiyar authored Nov 18, 2024
1 parent 2a8a938 commit a31e59c
Show file tree
Hide file tree
Showing 3 changed files with 441 additions and 0 deletions.
1 change: 1 addition & 0 deletions calendar/store/setting_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ func DefaultDailySummaryUserSettings() *DailySummaryUserSettings {
Enable: false,
}
}

func (s *pluginStore) updateDailySummarySettingForUser(user *User, value interface{}) error {
if user.Settings.DailySummary == nil {
user.Settings.DailySummary = DefaultDailySummaryUserSettings()
Expand Down
Loading

0 comments on commit a31e59c

Please sign in to comment.