Skip to content

Commit 80c4417

Browse files
committed
remove dotenv
1 parent 69f168c commit 80c4417

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

articles/ai-services/content-safety/includes/quickstarts/javascript-quickstart-blocklist.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,6 @@ import ContentSafetyClient, {
5858
isUnexpected
5959
} from "@azure-rest/ai-content-safety";
6060
import { AzureKeyCredential } from "@azure/core-auth";
61-
import * as dotenv from "dotenv";
62-
63-
// Load the .env file
64-
dotenv.config();
6561

6662
// Get endpoint and key from environment variables
6763
const key = process.env.CONTENT_SAFETY_KEY;

articles/ai-services/content-safety/includes/quickstarts/typescript-quickstart-blocklist.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,6 @@ import ContentSafetyClient, {
117117
TextBlocklistItem
118118
} from "@azure-rest/ai-content-safety";
119119
import { AzureKeyCredential } from "@azure/core-auth";
120-
import * as dotenv from "dotenv";
121-
122-
// Load the .env file
123-
dotenv.config();
124120

125121
// Get endpoint and key from environment variables
126122
const key = process.env.CONTENT_SAFETY_KEY;

0 commit comments

Comments
 (0)