fix(core): update
This commit is contained in:
		| @@ -33,7 +33,7 @@ Use TypeScript for best inclass intellisense | ||||
| import * as tink from '@mojoio/tink'; | ||||
|  | ||||
| const tinkAccount = new TinkAccount('<clientId>', '<clientSecret>'); | ||||
| const tinkUser = await tinkAccount.createTinkUser('<YourOwnUniqueUserId>'); | ||||
| const tinkUser = await tinkAccount.createTinkUser('<YourOwnUniqueUserId/externalUserId>'); | ||||
| const tinkLinkUrl = await tinkUser.getTinkLink('<marketCode like DE>'); | ||||
|  | ||||
| // present the link to your user to connect their bank accounts to the tink platform. | ||||
| @@ -47,6 +47,9 @@ for (const providerConsent of tinkProviderConsents) { | ||||
|   } | ||||
| } | ||||
|  | ||||
| // additional stuff | ||||
| const existingTinkUser = await tinkAccount.getUser('<YourOwnUniqueUserId/externalUserId>') | ||||
| await existingTinkuser.delete(); // delete the user on the tink platform | ||||
| ``` | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user