Skip to content

Commit eb7bb13

Browse files
committed
🏷️ Fix type errors
1 parent 3b11b06 commit eb7bb13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/lib/appAuth.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ export const appAuth = new SvelteKitAuth({
3333
apiKey: import.meta.env.VITE_REDDIT_API_KEY,
3434
apiSecret: import.meta.env.VITE_REDDIT_API_SECRET,
3535
profile(profile) {
36-
profile = RedditOAuth2Provider.profileHandler(profile);
37-
return { ...profile, provider: "reddit" };
36+
const slim = RedditOAuth2Provider.profileHandler(profile);
37+
return { ...slim, provider: "reddit" };
3838
},
3939
}),
4040
],

0 commit comments

Comments
 (0)