Skip to content

Commit a244a19

Browse files
author
John Agan
committed
bumped version and minox syntax tweaks
1 parent 912507a commit a244a19

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Webflow CMS API Client
1+
# Webflow Data API SDK
22

33
## Installation
44

@@ -8,9 +8,9 @@ Using npm:
88
$ npm install webflow-api
99
```
1010

11-
using yarn
11+
Using yarn
1212

13-
```
13+
```shell
1414
$ yarn add webflow-api
1515
```
1616

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "webflow-api",
33
"description": "Webflow's official Node.js SDK for Data APIs",
4-
"version": "1.2.1",
4+
"version": "1.2.2",
55
"types": "dist/index.d.ts",
66
"main": "dist/index.js",
77
"contributors": [

src/api/oauth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ export class OAuth {
6262
if (state) params["state"] = state;
6363
if (scope) params["scope"] = scope;
6464

65-
const baseURL = client.defaults.baseURL.replace("api.", "");
6665
const url = "/oauth/authorize";
66+
const baseURL = client.defaults.baseURL.replace("api.", "");
6767
return client.getUri({ baseURL, url, method: "GET", params });
6868
}
6969

0 commit comments

Comments
 (0)