Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
aahill committed Oct 14, 2019
1 parent fe8ba3b commit 5bd7cbe
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions quickstarts/csharp-detect-anomalies.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@ class Program
{

// Replace the subscriptionKey string with your valid subscription key.
const string subscriptionKey = "[YOUR_SUBSCRIPTION_KEY]";

//replace the endpoint URL with the correct one for your subscription. Your endpoint can be found in the Azure portal. For example: https://westus2.api.cognitive.microsoft.com
const string endpoint = "[YOUR_ENDPOINT_URL]";
static readonly string subscriptionKey = Environment.GetEnvironmentVariable("ANOMALY_DETECTOR_KEY");
static readonly string endpoint = Environment.GetEnvironmentVariable("ANOMALY_DETECTOR_ENDPOINT");

// Replace the dataPath string with a path to the JSON formatted time series data.
const string dataPath = "[PATH_TO_TIME_SERIES_DATA]";
Expand Down

0 comments on commit 5bd7cbe

Please sign in to comment.