diff options
Diffstat (limited to 'SendGrid/UnitTest/UnitTest.cs')
-rw-r--r-- | SendGrid/UnitTest/UnitTest.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SendGrid/UnitTest/UnitTest.cs b/SendGrid/UnitTest/UnitTest.cs index 4f6e617..d614864 100644 --- a/SendGrid/UnitTest/UnitTest.cs +++ b/SendGrid/UnitTest/UnitTest.cs @@ -11,7 +11,7 @@ namespace UnitTest public class UnitTest { static string _baseUri = "https://api.sendgrid.com/"; - static string _apiKey = Environment.GetEnvironmentVariable("SENDGRID_APIKEY", EnvironmentVariableTarget.User); + static string _apiKey = Environment.GetEnvironmentVariable("SENDGRID_APIKEY"); public Client client = new Client(_apiKey, _baseUri); private static string _api_key_id = ""; |