Created
August 12, 2010 16:42
-
-
Save xrd/521259 to your computer and use it in GitHub Desktop.
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
exports.handler = function(func) { | |
return function(req, res, next ) { | |
var profile = { 'profile' : | |
{ 'displayName' : ('fakedUsername' + parseInt( Math.random() * 1000 ) ), | |
'email' : '[email protected]' } };; | |
func( profile, req, res, next ); | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment