add overleaf to projection

This commit is contained in:
Hayden Faulds 2018-03-16 13:29:22 +00:00
parent d22d8324af
commit 482d140716

View file

@ -316,7 +316,7 @@ module.exports = ProjectEntityUpdateHandler = self =
# This doesn't directly update project structure but we need to take the lock
# to prevent anything else being queued before the resync update
resyncProjectHistory: wrapWithLock (project_id, callback) ->
ProjectGetter.getProject project_id, rootFolder: true, (error, project) ->
ProjectGetter.getProject project_id, rootFolder: true, overleaf: true, (error, project) ->
return callback(error) if error?
if !project.overleaf?.history?.id?