mirror of
https://github.com/Dan6erbond/sk-auth.git
synced 2025-01-02 00:05:56 +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;
|
||||
}
|
||||
|
||||
const redditProfileHandler: ProfileCallback<RedditProfile, RedditTokens> = ({
|
||||
const redditProfileHandler = ({
|
||||
is_employee,
|
||||
has_external_account,
|
||||
snoovatar_img,
|
||||
@ -181,7 +181,7 @@ const redditProfileHandler: ProfileCallback<RedditProfile, RedditTokens> = ({
|
||||
created,
|
||||
created_utc,
|
||||
comment_karma,
|
||||
}) => ({
|
||||
}: RedditProfile) => ({
|
||||
is_employee,
|
||||
has_external_account,
|
||||
snoovatar_img,
|
||||
|
Loading…
Reference in New Issue
Block a user