1
0
Fork 0
mirror of https://github.com/overleaf/overleaf.git synced 2025-04-11 05:25:22 +00:00

fix whitespace

This commit is contained in:
Brian Gough 2017-11-13 11:56:08 +00:00
parent 569912a832
commit 0bb9f147aa

View file

@ -18,15 +18,9 @@ module.exports = HistoryManager =
logger.log { project_id, doc_id, url }, "flushing doc in track changes api"
request.post url, (error, res, body)->
if error?
logger.error(
{ error, doc_id, project_id},
"track changes doc to track changes api"
)
logger.error { error, doc_id, project_id}, "track changes doc to track changes api"
else if res.statusCode < 200 and res.statusCode >= 300
logger.error(
{ doc_id, project_id },
"track changes api returned a failure status code: #{res.statusCode}"
)
logger.error { doc_id, project_id }, "track changes api returned a failure status code: #{res.statusCode}"
_flushProjectChangesAsync: (project_id) ->
return if !Settings.apis?.project_history?