Add missing ? check

This commit is contained in:
James Allen 2016-03-15 14:15:25 +00:00
parent 724e6b5263
commit 398d43e2d1

View file

@ -121,7 +121,7 @@ getProjectsUsersIds = (project_id, callback = (err, owner_id, allUserIds)->)->
return callback(err) if err?
CollaboratorsHandler.getMemberIds project_id, (err, member_ids) ->
return callback(err) if err?
callback err, project.owner_ref, member_ids
callback err, project?.owner_ref, member_ids
mergeProjectNameAndPath = (project_name, path)->
if(path.indexOf('/') == 0)