Skip to content

Commit

Permalink
remove debug printfs
Browse files Browse the repository at this point in the history
  • Loading branch information
hrfee committed Jan 11, 2021
1 parent 3fbbc7f commit 3c799b8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions api.go
Expand Up @@ -1048,7 +1048,6 @@ func (app *appContext) ApplySettings(gc *gin.Context) {
"homescreen": map[string]string{},
}
for _, id := range req.ApplyTo {
fmt.Printf("%+v\n", policy)
status, err := app.jf.SetPolicy(id, policy)
if !(status == 200 || status == 204) || err != nil {
errors["policy"][id] = fmt.Sprintf("%d: %s", status, err)
Expand Down Expand Up @@ -1224,7 +1223,6 @@ func (app *appContext) Logout(gc *gin.Context) {
func (app *appContext) GetLanguages(gc *gin.Context) {
resp := langDTO{}
for key, lang := range app.storage.lang.Form {
fmt.Printf("%+v\n", lang["meta"])
resp[key] = lang["meta"].(map[string]interface{})["name"].(string)
}
if len(resp) == 0 {
Expand Down

0 comments on commit 3c799b8

Please sign in to comment.