Skip to content

Commit 963e261

Browse files
authored
Readme bug fixes (#305)
* This is a variable defined above, not a string * Show the correct package name
1 parent 5c67bf9 commit 963e261

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ $ yarn add webflow-api
3030

3131
## Usage
3232

33-
Simply import `Webflow` and start making calls to our API.
33+
Simply import `webflow-api` and start making calls to our API.
3434

3535
```javascript
3636
import { WebflowClient } from "webflow-api";
@@ -49,7 +49,7 @@ const custom_domain_id_2 = process.env.CUSTOM_DOMAIN_ID_2;
4949
const sites = await webflow.sites.list();
5050

5151
// Get Site
52-
const site = await webflow.sites.get("site_id");
52+
const site = await webflow.sites.get(site_id);
5353

5454
// Get Custom Domains
5555
const customDomains = await webflow.sites.getCustomDomain(site_id);

0 commit comments

Comments
 (0)