mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge branch 'master' into sk-passport
This commit is contained in:
commit
6e8185aeaf
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue