Skip to content

Commit fa510d1

Browse files
authored
Update javascript-sdk.md
1 parent 630be49 commit fa510d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/ai-services/document-intelligence/quickstarts/includes/javascript-sdk.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Extract text, selection marks, text styles, table structures, and bounding regio
158158
const formUrl = "https://raw.githubusercontent.com/Azure-Samples/cognitive-services-REST-api-samples/master/curl/form-recognizer/sample-layout.pdf"
159159

160160
async function main() {
161-
const client = DocumentIntelligence(endpoint, new AzureKeyCredential(key:key));
161+
const client = DocumentIntelligence(endpoint, new AzureKeyCredential(key));
162162

163163

164164
const initialResponse = await client
@@ -329,7 +329,7 @@ const { AzureKeyCredential } = require("@azure/core-auth");
329329

330330
async function main() {
331331

332-
const client = DocumentIntelligence(endpoint, new AzureKeyCredential(key:key));
332+
const client = DocumentIntelligence(endpoint, new AzureKeyCredential(key));
333333

334334
const initialResponse = await client
335335
.path("/documentModels/{modelId}:analyze", "prebuilt-invoice")

0 commit comments

Comments
 (0)