[web] inline trivial mongo queries when creating project from template (#30601)

GitOrigin-RevId: 7aefee892d491b1ec191d07bf1871317b897dec8
This commit is contained in:
Jakob Ackermann
2026-01-12 11:55:48 +00:00
committed by Copybot
parent 72ad614b25
commit 292230b1db
5 changed files with 70 additions and 76 deletions
@@ -221,6 +221,7 @@ async function setRootDoc(projectId, newRootDocID) {
'invalid file extension for root doc'
)
}
return newRootDocID
}
async function unsetRootDoc(projectId) {