Merge branch 'master' into pr-latex-hints-integration

This commit is contained in:
Paulo Reis 2016-06-24 10:48:42 +01:00
commit 3014808a07

View file

@ -84,6 +84,8 @@ module.exports = ReferencesHandler =
ReferencesHandler._buildFileUrl projectId, fileId
allUrls = bibDocUrls.concat(bibFileUrls)
logger.log {projectId, isFullIndex, docIds, bibDocUrls}, "sending request to references service"
if !settings.apis.references.url?
return callback()
request.post {
url: "#{settings.apis.references.url}/project/#{projectId}/index"
json: