瀏覽代碼

docupdater will parse lines in getProjectDocs

no need to do this in web now
Brian Gough 9 年之前
父節點
當前提交
4789dd23ee
共有 1 個文件被更改,包括 0 次插入 和 2 次删除
  1. 0 2
      services/web/app/coffee/Features/DocumentUpdater/DocumentUpdaterHandler.coffee

+ 0 - 2
services/web/app/coffee/Features/DocumentUpdater/DocumentUpdaterHandler.coffee

@@ -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