🏷️ Fix type errors

This commit is contained in:
Dan6erbond 2021-05-25 18:23:46 +02:00
parent 3b11b06ac1
commit eb7bb1345e

View File

@ -33,8 +33,8 @@ export const appAuth = new SvelteKitAuth({
apiKey: import.meta.env.VITE_REDDIT_API_KEY, apiKey: import.meta.env.VITE_REDDIT_API_KEY,
apiSecret: import.meta.env.VITE_REDDIT_API_SECRET, apiSecret: import.meta.env.VITE_REDDIT_API_SECRET,
profile(profile) { profile(profile) {
profile = RedditOAuth2Provider.profileHandler(profile); const slim = RedditOAuth2Provider.profileHandler(profile);
return { ...profile, provider: "reddit" }; return { ...slim, provider: "reddit" };
}, },
}), }),
], ],