Skip to content

Commit

Permalink
Revert "Force sync database after saving settings."
Browse files Browse the repository at this point in the history
This reverts commit 33dcd2d.
  • Loading branch information
patfair committed Jul 19, 2024
1 parent 33dcd2d commit 3cd1730
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions model/event_settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,5 @@ func (database *Database) GetEventSettings() (*EventSettings, error) {
}

func (database *Database) UpdateEventSettings(eventSettings *EventSettings) error {
err := database.eventSettingsTable.update(eventSettings)
if err != nil {
return err
}
return database.bolt.Sync()
return database.eventSettingsTable.update(eventSettings)
}

0 comments on commit 3cd1730

Please sign in to comment.