mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
[web] update the projects lastUpdated timestamp when changing file-tree (#24867)
* [misc] freeze time before any other unit test setup steps Freezing it after other work (notably sandboxed-module imports) will result in flaky tests. * [web] update the projects lastUpdated timestamp when changing file-tree GitOrigin-RevId: b82b2ff74dc31886f3c4bd300375117eead6e0cd
This commit is contained in:
@@ -180,7 +180,11 @@ async function createFolder(userId, projectId, projectName, path) {
|
||||
return null
|
||||
}
|
||||
|
||||
const folder = await UpdateMerger.promises.createFolder(project._id, path)
|
||||
const folder = await UpdateMerger.promises.createFolder(
|
||||
project._id,
|
||||
path,
|
||||
userId
|
||||
)
|
||||
return {
|
||||
folderId: folder._id,
|
||||
parentFolderId: folder.parentFolder_id,
|
||||
|
||||
Reference in New Issue
Block a user