Skip to content

Commit

Permalink
done
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnovykov committed Jun 19, 2024
1 parent fbe426d commit 682dfd6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions api/items.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ type Item struct {
Price float64 `json:"price"`
}

var (
store = make(map[int]Item)
users = make(map[int]User)
)
var store = make(map[int]Item)

func extractToken(r *http.Request) (string, error) {
authHeader := r.Header.Get("Authorization")
Expand Down

0 comments on commit 682dfd6

Please sign in to comment.