Skip to content

Commit 8e0ae1c

Browse files
authored
Updated key comment
1 parent dc1d26d commit 8e0ae1c

File tree

1 file changed

+0
-1
lines changed
  • Search/BingWebSearch/src/main/java/com/microsoft/azure/cognitiveservices/search/websearch/samples

1 file changed

+0
-1
lines changed

Search/BingWebSearch/src/main/java/com/microsoft/azure/cognitiveservices/search/websearch/samples/BingWebSearchSample.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ public static void main(String[] args) {
123123
// Authenticate
124124
// Set the BING_SEARCH_V7_SUBSCRIPTION_KEY environment variable with your subscription key,
125125
// then reopen your command prompt or IDE. If not, you may get an API key not found exception.
126-
// IMPORTANT: if you have not set the `AZURE_BING_SAMPLES_API_KEY` environment variable to your cognitive services API key:
127126
final String subscriptionKey = System.getenv("BING_SEARCH_V7_SUBSCRIPTION_KEY");
128127

129128
BingWebSearchAPI client = BingWebSearchManager.authenticate(subscriptionKey);

0 commit comments

Comments
 (0)