mirror of
https://github.com/Dan6erbond/sk-auth.git
synced 2024-11-29 19:07:51 +01:00
🏷️ Fix type errors
This commit is contained in:
parent
3b11b06ac1
commit
eb7bb1345e
@ -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" };
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user