mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-30 21:22:30 +00:00
Log something useful
This commit is contained in:
parent
c629f27db9
commit
d5cfd34bb7
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ V1ProjectGetter =
|
|||
|
||||
fs.stat INTEGRATION_MODULE_PATH, (error, stats) ->
|
||||
return if error? or !stats.isDirectory()
|
||||
logger.log {isDirectory: stats.isDirectory}, "integration module does exist, loading V1 projects"
|
||||
logger.log {isDirectory: stats.isDirectory()}, "integration module does exist, loading V1 projects"
|
||||
# Monkey patch impl to actually fetch projects
|
||||
V1ProjectGetter.findAllUsersProjects = (userId, callback = (error, projects) ->) ->
|
||||
IntegrationProjectListGetter = require(path.join(INTEGRATION_MODULE_PATH, 'app/coffee/ProjectList/ProjectListGetter'))
|
||||
|
|
Loading…
Reference in a new issue