Skip to content

Commit a65d703

Browse files
authored
Merge pull request github#18494 from github/repo-sync
repo sync
2 parents 81e52b8 + dbb8a28 commit a65d703

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/lib/get-rest-code-samples.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export function getShellExample(operation: Operation, codeSample: CodeSample) {
4242

4343
const args = [
4444
operation.verb !== 'get' && `-X ${operation.verb.toUpperCase()}`,
45-
`-H "Accept: ${defaultAcceptHeader}"`,
45+
`-H "Accept: ${defaultAcceptHeader}" \\ \n -H "Authorization: <TOKEN>"`,
4646
`${operation.serverUrl}${requestPath}`,
4747
requestBodyParams,
4848
].filter(Boolean)

0 commit comments

Comments
 (0)