From d021e4ae7661db6119a677c3fa9de1ef08407232 Mon Sep 17 00:00:00 2001 From: Andrey Chalkin Date: Tue, 24 Sep 2019 00:25:41 +0700 Subject: [PATCH] fix: Invalid Document ID assignment (#58) --- models/Document/Document.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/Document/Document.js b/models/Document/Document.js index d90897e..67b298b 100644 --- a/models/Document/Document.js +++ b/models/Document/Document.js @@ -70,7 +70,7 @@ class Document { const id = args.id || uuid().toUpperCase(); Object.assign(this, Document.Model, { - id, + do_objectID: id, }); } return this;