From 9c8e23996366d1806a2d35a99bf57ec8c34591cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=BE=E3=81=A3=E3=81=A1=E3=82=83=E3=81=A8=E3=83=BC?= =?UTF-8?q?=E3=81=AB=E3=82=85?= <17376330+u1-liquid@users.noreply.github.com> Date: Mon, 19 Feb 2024 20:20:00 +0900 Subject: [PATCH] =?UTF-8?q?fix(backend/oauth/api/userinfo):=20`updated=5Fa?= =?UTF-8?q?t`=E3=81=AE=E5=AE=9F=E8=A3=85=E3=81=8C=E9=96=93=E9=81=95?= =?UTF-8?q?=E3=81=A3=E3=81=A6=E3=81=84=E3=82=8B=E5=95=8F=E9=A1=8C=E3=82=92?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3=20(MisskeyIO#465)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/backend/src/server/oauth/OAuth2ProviderService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/oauth/OAuth2ProviderService.ts b/packages/backend/src/server/oauth/OAuth2ProviderService.ts index 891e6f10fd..6f7e1a5378 100644 --- a/packages/backend/src/server/oauth/OAuth2ProviderService.ts +++ b/packages/backend/src/server/oauth/OAuth2ProviderService.ts @@ -525,7 +525,7 @@ export class OAuth2ProviderService { picture: accessToken.user?.avatarUrl, email: user?.email, email_verified: user?.emailVerified, - updated_at: accessToken.lastUsedAt?.getTime() ?? 0 / 1000, + updated_at: (accessToken.lastUsedAt?.getTime() ?? 0) / 1000, }; }); }