Skip to content

Commit 82b305e

Browse files
committed
fix: typo
1 parent 7f72446 commit 82b305e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/Docs/SnippetViewer/BatchCheckRequestViewer.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ options := BatchCheckOptions{
149149
MaxParallelRequests: openfga.PtrInt32(10), // optional, default is 10, can be used to limit the parallelization of the BatchCheck chunks${
150150
modelId
151151
? `,
152-
AuthorizationModelId: openfga.PtrString("${modelId}")`,
152+
AuthorizationModelId: openfga.PtrString("${modelId}"),`
153153
: ''
154154
}
155155
}
@@ -371,7 +371,7 @@ Reply:${checks
371371
`;
372372

373373
case SupportedLanguage.CURL: {
374-
/* eslint-disable max-len */
374+
375375
return `curl -X POST $FGA_API_URL/stores/$FGA_STORE_ID/batch-check \\
376376
-H "Authorization: Bearer $FGA_API_TOKEN" \\ # Not needed if service does not require authorization
377377
-H "content-type: application/json" \\
@@ -414,7 +414,7 @@ Reply:${checks
414414
default:
415415
assertNever(lang);
416416
}
417-
/* eslint-enable no-tabs */
417+
418418
}
419419

420420
export function BatchCheckRequestViewer(opts: BatchCheckRequestViewerOpts): JSX.Element {

0 commit comments

Comments
 (0)