From 0c9decce3e1a084d354ae7a413aaffc7fdc3a1a9 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Sat, 19 Feb 2022 13:32:57 +0100 Subject: [PATCH] fix(core): update --- readme.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index c767c20..aef918b 100644 --- a/readme.md +++ b/readme.md @@ -33,7 +33,7 @@ Use TypeScript for best inclass intellisense import * as tink from '@mojoio/tink'; const tinkAccount = new TinkAccount('', ''); -const tinkUser = await tinkAccount.createTinkUser(''); +const tinkUser = await tinkAccount.createTinkUser(''); const tinkLinkUrl = await tinkUser.getTinkLink(''); // 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('') +await existingTinkuser.delete(); // delete the user on the tink platform ```