Skip to content

Commit

Permalink
fix getIssuer
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Theel committed Feb 22, 2020
1 parent 14c91d7 commit cb245dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ func (client *gocloak) GetIssuer(realm string) (*IssuerResponse, error) {
SetResult(&result).
Get(client.getRealmURL(realm))

if err := checkForError(resp, err, err.Error()); err != nil {
if err := checkForError(resp, err, errMessage); err != nil {
return nil, err
}

Expand Down

0 comments on commit cb245dd

Please sign in to comment.