mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-30 19:50:48 +00:00
Fix typo
This commit is contained in:
parent
76673d5f0a
commit
c5e602c0a9
1 changed files with 1 additions and 1 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue