docupdater will parse lines in getProjectDocs

no need to do this in web now
This commit is contained in:
Brian Gough 2017-08-11 16:57:23 +01:00
parent e2048e1ed5
commit 4789dd23ee

View file

@ -146,8 +146,6 @@ module.exports = DocumentUpdaterHandler =
logger.log project_id:project_id, "got project docs from document document updater" logger.log project_id:project_id, "got project docs from document document updater"
try try
docs = JSON.parse(body) docs = JSON.parse(body)
for doc in docs or []
doc.lines = JSON.parse(doc.lines)
catch error catch error
return callback(error) return callback(error)
callback null, docs callback null, docs