mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-02 13:49:00 +02:00
Merge pull request #5984 from overleaf/em-unnecessarily-async-functions
Clean up unnecessarily async functions GitOrigin-RevId: 59f0f0a76b4436f3b99a09b747670d443bac4582
This commit is contained in:
@@ -17,10 +17,9 @@ async function countFiles() {
|
||||
if (!project) {
|
||||
throw new Errors.NotFoundError('project not found')
|
||||
}
|
||||
const {
|
||||
files,
|
||||
docs,
|
||||
} = await ProjectEntityHandler.promises.getAllEntitiesFromProject(project)
|
||||
const { files, docs } = ProjectEntityHandler.getAllEntitiesFromProject(
|
||||
project
|
||||
)
|
||||
console.error(
|
||||
projectId,
|
||||
files.length,
|
||||
|
||||
Reference in New Issue
Block a user