Skip to content

Commit

Permalink
More cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
irees committed Dec 19, 2023
1 parent e0042a6 commit e1338b2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions model/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package model

import (
"context"
"fmt"
"net/http"

"github.com/interline-io/transitland-lib/tl"
Expand Down Expand Up @@ -45,7 +44,6 @@ func WithConfig(ctx context.Context, cfg Config) context.Context {
func AddConfig(cfg Config) func(http.Handler) http.Handler {
return func(next http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
fmt.Println("CONFIG 1")
r = r.WithContext(WithConfig(r.Context(), cfg))
next.ServeHTTP(w, r)
})
Expand Down

0 comments on commit e1338b2

Please sign in to comment.