fix(backend/oauth/api/userinfo): updated_atの実装が間違っている問題を修正 (MisskeyIO#465)

This commit is contained in:
まっちゃとーにゅ 2024-02-19 20:20:00 +09:00 committed by GitHub
parent a1ae0f7de0
commit 9c8e239963
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -525,7 +525,7 @@ export class OAuth2ProviderService {
picture: accessToken.user?.avatarUrl, picture: accessToken.user?.avatarUrl,
email: user?.email, email: user?.email,
email_verified: user?.emailVerified, email_verified: user?.emailVerified,
updated_at: accessToken.lastUsedAt?.getTime() ?? 0 / 1000, updated_at: (accessToken.lastUsedAt?.getTime() ?? 0) / 1000,
}; };
}); });
} }