mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-25 18:20:09 +02:00
Log something useful
This commit is contained in:
@@ -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'))
|
||||
|
||||
Reference in New Issue
Block a user