mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-04 14:49:01 +02:00
[document-updater] delete dead code for handling JSON documents (#25036)
GitOrigin-RevId: 59a2c5f0174cd041ebda1ea4898114e6fb6d41a5
This commit is contained in:
@@ -160,14 +160,6 @@ const DocumentManager = {
|
||||
alreadyLoaded,
|
||||
} = await DocumentManager.getDoc(projectId, docId)
|
||||
|
||||
if (oldLines != null && oldLines.length > 0 && oldLines[0].text != null) {
|
||||
logger.debug(
|
||||
{ docId, projectId, oldLines, newLines },
|
||||
'document is JSON so not updating'
|
||||
)
|
||||
return
|
||||
}
|
||||
|
||||
logger.debug(
|
||||
{ docId, projectId, oldLines, newLines },
|
||||
'setting a document via http'
|
||||
|
||||
Reference in New Issue
Block a user