Merge branch 'master' into sk-passport

This commit is contained in:
Shane Kilkelly 2016-09-23 10:28:35 +01:00
commit 6e8185aeaf

View file

@ -55,7 +55,7 @@ tryFollowInviteLink = (user, link, callback=(err, response, body)->) ->
tryAcceptInvite = (user, invite, callback=(err, response, body)->) ->
user.request.post {
uri: "/project/#{invite.projectId}/invite/#{invite._id}/accept"
uri: "/project/#{invite.projectId}/invite/token/#{invite.token}/accept"
json:
token: invite.token
}, callback