mirror of https://github.com/golang-jwt/jwt.git
Merge pull request #13 from brunoqc/patch-1
Fix typo: null -> nil in README
This commit is contained in:
commit
71c6a65cfe
|
@ -10,7 +10,7 @@ This library is considered production ready. Feedback and feature requests are
|
||||||
return myLookupKey(token.Header["kid"])
|
return myLookupKey(token.Header["kid"])
|
||||||
})
|
})
|
||||||
|
|
||||||
if err == null && token.Valid {
|
if err == nil && token.Valid {
|
||||||
deliverGoodness("!")
|
deliverGoodness("!")
|
||||||
} else {
|
} else {
|
||||||
deliverUtterRejection(":(")
|
deliverUtterRejection(":(")
|
||||||
|
|
Loading…
Reference in New Issue