summaryrefslogtreecommitdiffstats
path: root/SendGrid/UnitTest/UnitTest.cs
diff options
context:
space:
mode:
authorElmer Thomas <elmer@thinkingserious.com>2015-11-11 19:46:21 -0800
committerElmer Thomas <elmer@thinkingserious.com>2015-11-11 19:46:33 -0800
commitce3ae43822dda998e07aaa36a188aea704e8c817 (patch)
tree9483dc2cbfd97e33a5d09e77e2f5b44216637fbc /SendGrid/UnitTest/UnitTest.cs
parente82a2aeaaa3742d2178ec37449fb8f35ffa3bb4d (diff)
downloadsendgrid-csharp-ce3ae43822dda998e07aaa36a188aea704e8c817.zip
sendgrid-csharp-ce3ae43822dda998e07aaa36a188aea704e8c817.tar.gz
sendgrid-csharp-ce3ae43822dda998e07aaa36a188aea704e8c817.tar.bz2
Adjust environment variable for Travis
Diffstat (limited to 'SendGrid/UnitTest/UnitTest.cs')
-rw-r--r--SendGrid/UnitTest/UnitTest.cs2
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 = "";