Skip to content

Commit

Permalink
Merge pull request #790 from RossMacey/dev
Browse files Browse the repository at this point in the history
Change the environment variable placeholders to be consistent amongst…
  • Loading branch information
thinkingserious authored Oct 22, 2018
2 parents ca30aba + cb9f962 commit bb2e623
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ExampleCoreProject/Example.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ private static void Main()
static async Task Execute()
{
// Retrieve the API key from the environment variables. See the project README for more info about setting this up.
var apiKey = Environment.GetEnvironmentVariable("SENDGRID_APIKEY");
var apiKey = Environment.GetEnvironmentVariable("NAME_OF_THE_ENVIRONMENT_VARIABLE_FOR_YOUR_SENDGRID_KEY");

var client = new SendGridClient(apiKey);

Expand Down
2 changes: 1 addition & 1 deletion ExampleNet45Project/Example.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ private static void Main()
static async Task Execute()
{
// Retrieve the API key from the environment variables. See the project README for more info about setting this up.
var apiKey = Environment.GetEnvironmentVariable("SENDGRID_APIKEY");
var apiKey = Environment.GetEnvironmentVariable("NAME_OF_THE_ENVIRONMENT_VARIABLE_FOR_YOUR_SENDGRID_KEY");

var client = new SendGridClient(apiKey);

Expand Down

0 comments on commit bb2e623

Please sign in to comment.