Skip to content

Commit 395b24f

Browse files
Typo fix when calling const
In the layout sample code when the const `formUrl` is used in `beginAnalyzeDocumentFromUrl` it is referred to as `formUrlLayout` so the code does not run. Changing it to `formUrl` enables the code to run correctly.
1 parent bacc418 commit 395b24f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/applied-ai-services/form-recognizer/quickstarts/includes/v3-javascript-sdk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ Extract text, selection marks, text styles, table structures, and bounding regio
220220
async function main() {
221221
const client = new DocumentAnalysisClient(endpoint, new AzureKeyCredential(key));
222222

223-
const poller = await client.beginAnalyzeDocumentFromUrl("prebuilt-layout", formUrlLayout);
223+
const poller = await client.beginAnalyzeDocumentFromUrl("prebuilt-layout", formUrl);
224224

225225
const {
226226
pages,

0 commit comments

Comments
 (0)