Skip to content

Commit

Permalink
(fix): update getAccessToken method (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-bot authored Mar 29, 2024
1 parent 4acf657 commit cbd3f17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wrapper/WebflowClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class WebflowClient extends FernClient {
body,
});
if (response.ok) {
return (response as any)["access_token"];
return (response.body as any)["access_token"];
}

switch (response.error.reason) {
Expand Down

0 comments on commit cbd3f17

Please sign in to comment.