mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-31 21:01:33 +02:00
Merge pull request #3845 from overleaf/ho-upload-file-mark-updated
mark project as updated when uploading/replacing files GitOrigin-RevId: 948a3351ac59d4f08411dd83bb543444de0b9b52
This commit is contained in:
committed by
Copybot
parent
3d48e1e027
commit
9e2db00d53
@@ -533,6 +533,7 @@ const ProjectEntityUpdateHandler = {
|
||||
if (error != null) {
|
||||
return callback(error)
|
||||
}
|
||||
ProjectUpdateHandler.markAsUpdated(projectId, new Date(), userId)
|
||||
callback(null, fileRef, folderId)
|
||||
}
|
||||
)
|
||||
@@ -631,6 +632,8 @@ const ProjectEntityUpdateHandler = {
|
||||
if (err != null) {
|
||||
return callback(err)
|
||||
}
|
||||
ProjectUpdateHandler.markAsUpdated(projectId, new Date(), userId)
|
||||
|
||||
DocumentUpdaterHandler.updateProjectStructure(
|
||||
projectId,
|
||||
projectHistoryId,
|
||||
|
||||
Reference in New Issue
Block a user