mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-25 10:10:08 +02:00
Merge pull request #5963 from overleaf/bg-fix-missing-pathname-check
[document-updater] fix check for missing pathname GitOrigin-RevId: 81ebca469c820ffb197020d29f6734821c270e96
This commit is contained in:
@@ -248,7 +248,7 @@ module.exports = RedisManager = {
|
||||
projectHistoryId = parseInt(projectHistoryId)
|
||||
}
|
||||
|
||||
if (!pathname) {
|
||||
if (docLines && version && !pathname) {
|
||||
metrics.inc('pathname', 1, {
|
||||
path: 'RedisManager.getDoc',
|
||||
status: pathname === '' ? 'zero-length' : 'undefined',
|
||||
|
||||
Reference in New Issue
Block a user