Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Feb 5, 2019
1 parent 98ebbb9 commit 6b0065c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hub/subscribe.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
func (h *Hub) SubscribeHandler(w http.ResponseWriter, r *http.Request) {
f, ok := w.(http.Flusher)
if !ok {
panic("The Response Writter must be an instance of Flusher.")
panic("The Response Writer must be an instance of Flusher.")
}

claims, err := authorize(r, h.options.SubscriberJWTKey, nil)
Expand Down

0 comments on commit 6b0065c

Please sign in to comment.