Skip to content

Commit

Permalink
fixed script
Browse files Browse the repository at this point in the history
  • Loading branch information
plxity committed Dec 5, 2024
1 parent ea16312 commit 41c60c7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/src/sdk/models/connectedAccounts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,14 @@ export class ConnectedAccounts {
const { data: res } = await apiClient.connections.initiateConnection({
body: data,
});

//@ts-ignore
return new ConnectionRequest(
//@ts-ignore
res.connectionStatus,
//@ts-ignore
res.connectedAccountId,
//@ts-ignore
res.redirectUrl
);
} catch (error) {
Expand Down

0 comments on commit 41c60c7

Please sign in to comment.