Skip to content

Commit

Permalink
remove debug artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
vsimakhin committed Jul 20, 2023
1 parent c503ab0 commit 62caf98
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmd/web/handlers_settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package main

import (
"encoding/json"
"fmt"
"net/http"

"github.com/vsimakhin/web-logbook/internal/models"
Expand Down Expand Up @@ -64,7 +63,6 @@ func (app *application) HandlerSettingsSave(w http.ResponseWriter, r *http.Reque
settings.ExportXLS = oldsettings.ExportXLS
settings.ExportCSV = oldsettings.ExportCSV

fmt.Println(settings.SyncOptions.KeepDeletedRecordsDays)
err = app.db.UpdateSettings(settings)
if err != nil {
app.errorLog.Println(err)
Expand Down

0 comments on commit 62caf98

Please sign in to comment.