Merge pull request #16980 from overleaf/jpa-join-project-remove-sl-2
[misc] joinProject: pass userId and anonymous access token in body 2/2 GitOrigin-RevId: b1a11941a6d9c7cc779769d1e97d3a0f03bed610
This commit is contained in:
@@ -174,13 +174,12 @@ const tryJoinProject = (user, projectId, callback) => {
|
||||
user.request.post(
|
||||
{
|
||||
url: `/project/${projectId}/join`,
|
||||
qs: { user_id: user._id },
|
||||
auth: {
|
||||
user: settings.apis.web.user,
|
||||
pass: settings.apis.web.pass,
|
||||
sendImmediately: true,
|
||||
},
|
||||
json: true,
|
||||
json: { userId: user._id },
|
||||
jar: false,
|
||||
},
|
||||
callback
|
||||
|
||||
Reference in New Issue
Block a user