webflow-api 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Webflow.js +1 -1
- package/package.json +1 -1
- package/src/Webflow.js +1 -1
package/dist/Webflow.js
CHANGED
|
@@ -303,7 +303,7 @@ class Webflow {
|
|
|
303
303
|
if (redirect_uri) query.set("redirect_uri", redirect_uri);
|
|
304
304
|
if (state) query.set("state", state);
|
|
305
305
|
if (scope) query.set("scope", scope);
|
|
306
|
-
return `https://${this.host}/oauth/authorize?${query}`;
|
|
306
|
+
return `https://${this.client.host}/oauth/authorize?${query}`;
|
|
307
307
|
}
|
|
308
308
|
accessToken({
|
|
309
309
|
client_id,
|
package/package.json
CHANGED
package/src/Webflow.js
CHANGED
|
@@ -265,7 +265,7 @@ export class Webflow {
|
|
|
265
265
|
if (state) query.set("state", state);
|
|
266
266
|
if (scope) query.set("scope", scope);
|
|
267
267
|
|
|
268
|
-
return `https://${this.host}/oauth/authorize?${query}`;
|
|
268
|
+
return `https://${this.client.host}/oauth/authorize?${query}`;
|
|
269
269
|
}
|
|
270
270
|
|
|
271
271
|
accessToken({
|