Skip to content

Commit cbd3f17

Browse files
authored
(fix): update getAccessToken method (#132)
1 parent 4acf657 commit cbd3f17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wrapper/WebflowClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export class WebflowClient extends FernClient {
7272
body,
7373
});
7474
if (response.ok) {
75-
return (response as any)["access_token"];
75+
return (response.body as any)["access_token"];
7676
}
7777

7878
switch (response.error.reason) {

0 commit comments

Comments
 (0)