mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-12 05:36:40 +00:00
Fix non-beta throwing error because it's expecting OL projects
This commit is contained in:
parent
8c66342a04
commit
d072fabb25
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ module.exports = ProjectController =
|
|||
notifications = require("underscore").map results.notifications, (notification)->
|
||||
notification.html = req.i18n.translate(notification.templateKey, notification.messageOpts)
|
||||
return notification
|
||||
projects = ProjectController._buildProjectList results.projects, results.olProjects.projects
|
||||
projects = ProjectController._buildProjectList results.projects, results.olProjects?.projects
|
||||
user = results.user
|
||||
ProjectController._injectProjectOwners projects, (error, projects) ->
|
||||
return next(error) if error?
|
||||
|
|
Loading…
Add table
Reference in a new issue