mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-06 18:28:39 +01:00
Some cleanup, fixes typos and grammar errors
This commit is contained in:
parent
c5f7cf97f4
commit
f206d81afd
8 changed files with 10 additions and 9 deletions
|
|
@ -253,7 +253,7 @@ func Authenticator(ds model.DataStore) func(next http.Handler) http.Handler {
|
|||
}
|
||||
}
|
||||
|
||||
// JWTRefresher updates the expire date of the received JWT token, and add the new one to the Authorization Header
|
||||
// JWTRefresher updates the expiry date of the received JWT token, and add the new one to the Authorization Header
|
||||
func JWTRefresher(next http.Handler) http.Handler {
|
||||
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
ctx := r.Context()
|
||||
|
|
|
|||
|
|
@ -222,7 +222,7 @@ func (b *broker) listen() {
|
|||
c.diode.put(msg)
|
||||
|
||||
case c := <-b.unsubscribing:
|
||||
// A client has detached and we want to
|
||||
// A client has detached, and we want to
|
||||
// stop sending them messages.
|
||||
delete(clients, c)
|
||||
log.Debug("Removed client from event broker", "numClients", len(clients), "client", c.String())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue