mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-24 01:00:51 -04:00
Take id property of username, remove wasteful save on profile lookup.
This commit is contained in:
@@ -114,7 +114,8 @@ var userIdentityCount = users
|
||||
.map(function(provider) {
|
||||
return {
|
||||
provider: provider,
|
||||
externalId: user[provider]
|
||||
externalId: user[provider],
|
||||
userId: user.id
|
||||
};
|
||||
})
|
||||
.filter(function(ident) {
|
||||
|
||||
Reference in New Issue
Block a user