mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-09 00:59:02 +02:00
Merge pull request #16186 from overleaf/mj-mongo-object-id
[web] Use constructor for ObjectId GitOrigin-RevId: 9eb8b377ea599605b72af237d1ab12f4d8287162
This commit is contained in:
committed by
Copybot
parent
0ac514f81b
commit
c371732e6e
@@ -148,8 +148,8 @@ const ProjectEntityHandler = {
|
||||
},
|
||||
|
||||
/**
|
||||
* @param {ObjectID | string} projectId
|
||||
* @param {ObjectID | string} docId
|
||||
* @param {ObjectId | string} projectId
|
||||
* @param {ObjectId | string} docId
|
||||
* @param {Function} callback
|
||||
*/
|
||||
getDocPathByProjectIdAndDocId(projectId, docId, callback) {
|
||||
@@ -176,7 +176,7 @@ const ProjectEntityHandler = {
|
||||
|
||||
/**
|
||||
* @param {Project} project
|
||||
* @param {ObjectID | string} docId
|
||||
* @param {ObjectId | string} docId
|
||||
* @param {Function} callback
|
||||
*/
|
||||
getDocPathFromProjectByDocId(project, docId, callback) {
|
||||
|
||||
Reference in New Issue
Block a user