Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
joshgummersall authored Apr 28, 2020
1 parent 23001b1 commit 06032d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jwt.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func getClaimString(claims jwt.MapClaims, key, def string) string {
func getClaimFloat64(claims jwt.MapClaims, key string, def float64) float64 {
result := def

iface, ok := claims["covidtrace:refreshed"]
iface, ok := claims[key]
if !ok {
iface = def
}
Expand Down

0 comments on commit 06032d6

Please sign in to comment.