Skip to content

Commit

Permalink
bumped version and minox syntax tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
John Agan committed Nov 18, 2022
1 parent 912507a commit a244a19
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Webflow CMS API Client
# Webflow Data API SDK

## Installation

Expand All @@ -8,9 +8,9 @@ Using npm:
$ npm install webflow-api
```

using yarn
Using yarn

```
```shell
$ yarn add webflow-api
```

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "webflow-api",
"description": "Webflow's official Node.js SDK for Data APIs",
"version": "1.2.1",
"version": "1.2.2",
"types": "dist/index.d.ts",
"main": "dist/index.js",
"contributors": [
Expand Down
2 changes: 1 addition & 1 deletion src/api/oauth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ export class OAuth {
if (state) params["state"] = state;
if (scope) params["scope"] = scope;

const baseURL = client.defaults.baseURL.replace("api.", "");
const url = "/oauth/authorize";
const baseURL = client.defaults.baseURL.replace("api.", "");
return client.getUri({ baseURL, url, method: "GET", params });
}

Expand Down

0 comments on commit a244a19

Please sign in to comment.