🏷️ Remove tokens argument from redditProfileHandler

This commit is contained in:
Dan6erbond 2021-05-25 10:12:13 +02:00
parent 3d2f8f8111
commit 35f9525363

View File

@ -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,