mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
add null check in on project
This commit is contained in:
@@ -18,7 +18,7 @@ module.exports = EditorHttpController =
|
||||
privilegeLevel: privilegeLevel
|
||||
}
|
||||
# Only show the 'renamed or deleted' message once
|
||||
if project.deletedByExternalDataSource
|
||||
if project?.deletedByExternalDataSource
|
||||
ProjectDeleter.unmarkAsDeletedByExternalSource project_id
|
||||
|
||||
restoreDoc: (req, res, next) ->
|
||||
|
||||
Reference in New Issue
Block a user