mirror of
https://github.com/Dan6erbond/sk-auth.git
synced 2025-01-06 00:08:15 +01:00
🏷️ Remove tokens
argument from redditProfileHandler
This commit is contained in:
parent
3d2f8f8111
commit
35f9525363
@ -159,7 +159,7 @@ interface RedditOAuth2ProviderConfig extends OAuth2ProviderConfig<RedditProfile,
|
|||||||
apiSecret: string;
|
apiSecret: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
const redditProfileHandler: ProfileCallback<RedditProfile, RedditTokens> = ({
|
const redditProfileHandler = ({
|
||||||
is_employee,
|
is_employee,
|
||||||
has_external_account,
|
has_external_account,
|
||||||
snoovatar_img,
|
snoovatar_img,
|
||||||
@ -181,7 +181,7 @@ const redditProfileHandler: ProfileCallback<RedditProfile, RedditTokens> = ({
|
|||||||
created,
|
created,
|
||||||
created_utc,
|
created_utc,
|
||||||
comment_karma,
|
comment_karma,
|
||||||
}) => ({
|
}: RedditProfile) => ({
|
||||||
is_employee,
|
is_employee,
|
||||||
has_external_account,
|
has_external_account,
|
||||||
snoovatar_img,
|
snoovatar_img,
|
||||||
|
Loading…
Reference in New Issue
Block a user