Merge pull request #7307 from overleaf/jpa-notify-editor-restore-doc

[web] notify the editor after restoring a deleted doc

GitOrigin-RevId: 4bd316958827c83a56a82f9ff72f5ff803d32631
This commit is contained in:
Jakob Ackermann
2022-03-31 08:55:51 +01:00
committed by Copybot
parent 2677984b93
commit 64ffd66fa4
3 changed files with 11 additions and 8 deletions

View File

@@ -386,7 +386,7 @@ const ProjectEntityUpdateHandler = {
if (error != null) {
return callback(error)
}
callback(null, doc, folderId)
callback(null, doc, folderId || project.rootFolder[0]._id)
}
)
}