Skip to content

Instantly share code, notes, and snippets.

@vtsatskin
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vtsatskin/499c6315be556dcc4fbc to your computer and use it in GitHub Desktop.
Save vtsatskin/499c6315be556dcc4fbc to your computer and use it in GitHub Desktop.
HTN invite function signatures
createTeam(email_hash, token, callback)
* Only error: token is invalid
* callback(err, teamCode)
addToTeam(email_hash, team_id, token, callback)
* Only error: any one of the variables fucked up
* callback(err)
deleteFromTeam(email_hash, team_id, token, callback)
* Only error: any one of the variables fucked up
* callback(err)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment