Skip to content

Commit

Permalink
fix: Go SDK can't set an empty list of callbacks, so don't attempt to…
Browse files Browse the repository at this point in the history
… do so (#70)
  • Loading branch information
Patrick Carey authored Jan 27, 2021
1 parent 73d17cd commit ffb9c62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cli/try_login.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ func removeLocalCallbackURLFromClient(clientManager auth0.ClientAPI, client *man
}

// can't update a client to have 0 callback URLs, so don't attempt it
if len(callbacks) == 1 {
if len(callbacks) == 0 {
return nil
}

Expand Down

0 comments on commit ffb9c62

Please sign in to comment.