mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-22 11:32:02 +00:00
changed logging which was causing error, reading _id on null
This commit is contained in:
parent
b7104a82e9
commit
fa6065b298
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ module.exports =
|
|||
logger.log user_id:user_id, filePath:path, "handling delete update from tpds"
|
||||
projectLocator.findUsersProjectByName user_id, projectName, (err, project)->
|
||||
if !project?
|
||||
logger.log user_id:user_id, filePath:path, projectName:projectName, project_id:project._id, "project not found from tpds update, ignoring folder or project"
|
||||
logger.log user_id:user_id, filePath:path, projectName:projectName, "project not found from tpds update, ignoring folder or project"
|
||||
return callback()
|
||||
if path == "/"
|
||||
logger.log user_id:user_id, filePath:path, projectName:projectName, project_id:project._id, "project found for delete update, path is root so marking project as deleted"
|
||||
|
|
Loading…
Reference in a new issue