mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-25 00:21:40 +00:00
fix bug in doclines check
This commit is contained in:
parent
bed64d26c8
commit
12e8eaa9b6
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ module.exports = RedisManager =
|
||||||
return callback(new Errors.NotFoundError("document not found"))
|
return callback(new Errors.NotFoundError("document not found"))
|
||||||
|
|
||||||
# doc is not in redis, bail out
|
# doc is not in redis, bail out
|
||||||
if !lines?
|
if !docLines?
|
||||||
return callback null, docLines, version, ranges
|
return callback null, docLines, version, ranges
|
||||||
|
|
||||||
# doc should be in project set, check if missing (workaround for missing docs from putDoc)
|
# doc should be in project set, check if missing (workaround for missing docs from putDoc)
|
||||||
|
|
Loading…
Reference in a new issue