Преглед изворни кода

use v instead of rev in getProjectDocs

Brian Gough пре 9 година
родитељ
комит
bd6b5b2c59
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      services/document-updater/app/coffee/ProjectManager.coffee

+ 1 - 1
services/document-updater/app/coffee/ProjectManager.coffee

@@ -84,7 +84,7 @@ module.exports = ProjectManager =
 								# otherwise get the doc lines from redis
 								RedisManager.getDocLines doc_id, (error, lines) ->
 									return cb(error) if error?
-									docs.push {_id: doc_id, lines: lines, rev: version}
+									docs.push {_id: doc_id, lines: lines, v: version}
 									cb()
 				async.series jobs, (error) ->
 					return callback(error) if error?