This commit is contained in:
Shane Kilkelly 2017-10-26 16:00:06 +01:00
parent 76673d5f0a
commit c5e602c0a9

View file

@ -9,7 +9,7 @@ module.exports = WebApiManager =
url = "#{settings.apis.web.url}/project/#{project_id}/join"
headers = {}
if user.anonymousAccessToken?
headers['x-sl-anonymous-access-token'] = user.anonToken
headers['x-sl-anonymous-access-token'] = user.anonymousAccessToken
request.post {
url: url
qs: {user_id}