use v instead of rev in getProjectDocs

This commit is contained in:
Brian Gough 2017-08-09 15:29:58 +01:00
parent ca7d9dce85
commit bd6b5b2c59

View file

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