James Allen 12 лет назад
Родитель
Сommit
e4e14602f1
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      services/docstore/app/coffee/HttpController.coffee

+ 1 - 1
services/docstore/app/coffee/HttpController.coffee

@@ -66,7 +66,7 @@ module.exports = HttpController =
 
 	_buildDocView: (doc) -> 
 		return {
-			_id:     doc._id.toString()
+			_id:     doc._id?.toString()
 			lines:   doc.lines
 			rev:     doc.rev
 		}