Last active
February 24, 2016 08:55
-
-
Save iktakahiro/9c5036588b939db32b73 to your computer and use it in GitHub Desktop.
Linking Account
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
async.each(data, function(targetUser, cb) { | |
if (targetUser.email_verified) { | |
var aryTmp = user.user_id.split('|'); | |
var provider = aryTmp[0]; | |
var targetUserId = aryTmp[1]; | |
request.post({ | |
url: userApiUrl + '/' + targetUser.user_id + '/identities', | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment