From 35f95253635239aba69f7f91443bff1f0b9998a6 Mon Sep 17 00:00:00 2001 From: Dan6erbond Date: Tue, 25 May 2021 10:12:13 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=B7=EF=B8=8F=20Remove=20`tokens`=20arg?= =?UTF-8?q?ument=20from=20`redditProfileHandler`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/providers/reddit.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/providers/reddit.ts b/src/providers/reddit.ts index 2335f97..63353a5 100644 --- a/src/providers/reddit.ts +++ b/src/providers/reddit.ts @@ -159,7 +159,7 @@ interface RedditOAuth2ProviderConfig extends OAuth2ProviderConfig = ({ +const redditProfileHandler = ({ is_employee, has_external_account, snoovatar_img, @@ -181,7 +181,7 @@ const redditProfileHandler: ProfileCallback = ({ created, created_utc, comment_karma, -}) => ({ +}: RedditProfile) => ({ is_employee, has_external_account, snoovatar_img,