Merge pull request #15513 from overleaf/jpa-consistent-return-type

[web] ExpressLocals: avoid returning undefined from getCssThemeModifier

GitOrigin-RevId: f5256719c2b4f06e2957f6bc971d3c895bdff5d2
This commit is contained in:
Jakob Ackermann 2023-10-31 10:16:40 +01:00 committed by Copybot
parent f061a4add4
commit 6906c6a28c

View file

@ -212,6 +212,7 @@ module.exports = function (webRouter, privateApiRouter, publicApiRouter) {
return userSettings.overallTheme return userSettings.overallTheme
} }
} }
return ''
} }
res.locals.buildStylesheetPath = function (cssFileName) { res.locals.buildStylesheetPath = function (cssFileName) {