We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe8ad05 commit 13dd25cCopy full SHA for 13dd25c
BaseService.cs
@@ -42,8 +42,8 @@ public BaseService(string serviceId)
42
43
string ApiKey = Environment.GetEnvironmentVariable(serviceId.ToUpper() + "_IAM_APIKEY");
44
// check for old IAM API key name as well
45
- if (string.IsNullOrEmpty(apiKey)) {
46
- apiKey = Environment.GetEnvironmentVariable(ServiceName.ToUpper() + "_APIKEY");
+ if (string.IsNullOrEmpty(ApiKey)) {
+ ApiKey = Environment.GetEnvironmentVariable(serviceId.ToUpper() + "_APIKEY");
47
}
48
string Username = Environment.GetEnvironmentVariable(serviceId.ToUpper() + "_USERNAME");
49
string Password = Environment.GetEnvironmentVariable(serviceId.ToUpper() + "_PASSWORD");
0 commit comments