diff --git a/services/real-time/app/coffee/WebApiManager.coffee b/services/real-time/app/coffee/WebApiManager.coffee index 35977c0a0f..f0e7526764 100644 --- a/services/real-time/app/coffee/WebApiManager.coffee +++ b/services/real-time/app/coffee/WebApiManager.coffee @@ -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}