Skip to content

Commit

Permalink
(GH-1889) Fix: Removal of ApiKey broken
Browse files Browse the repository at this point in the history
`remove_api_key` was previously not working properly. The API key string
did not get removed from the config file due to incorrect implementation
of Equals method  in ConfigFileApiKeySettings class.
Current commit fixes this issue.
  • Loading branch information
skel35 authored and gep13 committed Apr 16, 2021
1 parent 4656042 commit e89ee92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public override bool Equals(object obj)
var item = (ConfigFileApiKeySetting) obj;

return (Source == item.Source)
&& (Key == item.Source);
&& (Key == item.Key);
}

public override int GetHashCode()
Expand Down

0 comments on commit e89ee92

Please sign in to comment.