From 9a459070c4244d147721fa6a1fe1c7fce8bf0cf0 Mon Sep 17 00:00:00 2001 From: RaviAnand Mohabir Date: Sun, 23 May 2021 21:24:15 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20storing=20multiple=20socia?= =?UTF-8?q?l=20connections=20in=20demo=20app?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/lib/appAuth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/lib/appAuth.ts b/app/src/lib/appAuth.ts index 046107c..7c8b1a1 100644 --- a/app/src/lib/appAuth.ts +++ b/app/src/lib/appAuth.ts @@ -46,7 +46,7 @@ export const appAuth = new SvelteKitAuth({ ...token, user: { ...token.user, - connections: { [provider]: account }, + connections: { ...token.user.connections, [provider]: account }, }, }; }