Skip to content

docs: add the missing closing parenthesis in the backend API get example - #26150

Open
Sweta0519 wants to merge 1 commit into
docker:mainfrom
Sweta0519:docs-backend-api-missing-paren
Open

Sweta0519 wants to merge 1 commit into
docker:mainfrom
Sweta0519:docs-backend-api-missing-paren

Conversation

@Sweta0519

Copy link
Copy Markdown

Closes #26138

The get example under Extensions SDK backend API is missing its closing parenthesis, so copying it into an extension gives a syntax error before anything runs:

ddClient.extension.vm.service
 .get("/some/service")
 .then((value: any) => console.log(value)

Every other example on the same page closes with console.log(value));, so this matches that rather than only adding the bracket.

The `get` example under Extensions SDK backend API ends
`console.log(value)` with no closing parenthesis, so copying it gives a
syntax error. Every other example on the same page closes with
`console.log(value));`, which is what this matches.

Closes docker#26138
@netlify

netlify Bot commented Sep 21, 2026

Copy link
Copy Markdown

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 7e95b87
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6ab15b847a46430008526da3
😎 Deploy Preview https://deploy-preview-26150--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added the area/extensions Relates to Docker Extensions label Sep 21, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/extensions Relates to Docker Extensions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[docs-scanner] Syntax error in backend API code example

1 participant