Skip to content

Commit 92aebb8

Browse files
authored
Merge pull request #123774 from TKharaishvili/patch-2
Typos fixed in javascript-sdk.md
2 parents f9620df + 08e0c59 commit 92aebb8

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
@@ -151,14 +151,14 @@ Extract text, selection marks, text styles, table structures, and bounding regio
151151
const { AzureKeyCredential } = require("@azure/core-auth");
152152

153153
// set `<your-key>` and `<your-endpoint>` variables with the values from the Azure portal.
154-
const key = "<your-key";
154+
const key = "<your-key>";
155155
const endpoint = "<your-endpoint>";
156156

157157
// sample document
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

0 commit comments

Comments
 (0)