We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b60c29 commit 1af3289Copy full SHA for 1af3289
src/wrapper/WebflowClient.ts
@@ -44,6 +44,9 @@ export class WebflowClient extends FernClient {
44
45
public async createPageClient(siteId: string, pageId: string): Promise<PageClient> {
46
const token = await core.Supplier.get(this._options.accessToken);
47
+ if(!token) {
48
+ throw new Error("No access token present");
49
+ }
50
return new PageClient({siteId, pageId, token });
51
}
52
0 commit comments