mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-23 12:43:48 -04:00
(user) fix typo in variable name
This commit is contained in:
parent
215631f27f
commit
a13201a666
@ -715,7 +715,7 @@ router.get('/user/social/:provider', handleErrorAsync(async (req, res) => {
|
||||
const payload: SocialProfilePayload = socialLoginHandlers[req.params.provider](req.session.grant.response);
|
||||
|
||||
if (payload.id === undefined) {
|
||||
console.error('Social login failed, payload has no id.', req.params.provider, req.payload);
|
||||
console.error('Social login failed, payload has no id.', req.params.provider, payload);
|
||||
return res.status(400).json({ error: 'Something went wrong… Please try again.' });
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user