Skip to content
This repository was archived by the owner on Oct 10, 2022. It is now read-only.

Commit 3b40015

Browse files
authored
Merge pull request #101 from elie222/patch-1
2 parents 1000eac + 0c02845 commit 3b40015

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,8 @@ const sites = await client.listSites()
2424

2525
// Create a site. Notice `body` here for sending OpenAPI body
2626
const site = await client.createSite({
27-
body: {
28-
name: `my-awesome-site`
29-
// ... https://open-api.netlify.com/#/default/createSite
30-
}
27+
name: `my-awesome-site`
28+
// ... https://open-api.netlify.com/#/default/createSite
3129
})
3230

3331
// Delete site. Notice `site_id` is a path parameter https://open-api.netlify.com/#/default/deleteSite

0 commit comments

Comments
 (0)