Created
January 11, 2015 04:19
-
-
Save bradvogel/ba4a1e5b6758792a8eae to your computer and use it in GitHub Desktop.
test gist
This file contains 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
Accounts.onLogin(function(e) { | |
// Do this async so we don't block login. | |
Meteor.setTimeout(function() { | |
var userId = e.user._id; | |
maybeSyncGoogleContacts(userId); | |
}, 100); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment