mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
remove extraneous body
parameter
This commit is contained in:
parent
39fc611964
commit
7a8142a43c
2 changed files with 2 additions and 2 deletions
|
@ -93,7 +93,7 @@ describe "ProjectInviteTests", ->
|
|||
Async.series [
|
||||
(cb) => @user.login cb
|
||||
(cb) => @sendingUser.login cb
|
||||
(cb) => @sendingUser.createProject(@projectName, (err, projectId, project) =>
|
||||
(cb) => @sendingUser.createProject(@projectName, (err, projectId) =>
|
||||
throw err if err
|
||||
@projectId = projectId
|
||||
@fakeProject = {
|
||||
|
|
|
@ -60,7 +60,7 @@ class User
|
|||
return callback(error) if error?
|
||||
if !body?.project_id?
|
||||
console.error "SOMETHING WENT WRONG CREATING PROJECT", response.statusCode, response.headers["location"], body
|
||||
callback(null, body.project_id, body)
|
||||
callback(null, body.project_id)
|
||||
|
||||
deleteProject: (project_id, callback=(error)) ->
|
||||
@request.delete {
|
||||
|
|
Loading…
Reference in a new issue