mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Add missing ? check
This commit is contained in:
parent
724e6b5263
commit
398d43e2d1
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ getProjectsUsersIds = (project_id, callback = (err, owner_id, allUserIds)->)->
|
||||||
return callback(err) if err?
|
return callback(err) if err?
|
||||||
CollaboratorsHandler.getMemberIds project_id, (err, member_ids) ->
|
CollaboratorsHandler.getMemberIds project_id, (err, member_ids) ->
|
||||||
return callback(err) if err?
|
return callback(err) if err?
|
||||||
callback err, project.owner_ref, member_ids
|
callback err, project?.owner_ref, member_ids
|
||||||
|
|
||||||
mergeProjectNameAndPath = (project_name, path)->
|
mergeProjectNameAndPath = (project_name, path)->
|
||||||
if(path.indexOf('/') == 0)
|
if(path.indexOf('/') == 0)
|
||||||
|
|
Loading…
Reference in a new issue