mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
remove comments
This commit is contained in:
@@ -201,8 +201,6 @@ api.loginSocial = {
|
||||
|
||||
if (network !== 'facebook') throw new NotAuthorized(res.t('onlyFbSupported'));
|
||||
|
||||
// TODO promise here?
|
||||
// TODO throwing inside a callback still bubblet up to the async handler?
|
||||
let profile = await _passportFbProfile(accessToken);
|
||||
|
||||
let user = await User.findOne({
|
||||
|
||||
Reference in New Issue
Block a user