Skip to content

Commit

Permalink
fix: Invalid Document ID assignment (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
L2jLiga authored and dbanksdesign committed Sep 23, 2019
1 parent 412b248 commit d021e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/Document/Document.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class Document {
const id = args.id || uuid().toUpperCase();

Object.assign(this, Document.Model, {
id,
do_objectID: id,
});
}
return this;
Expand Down

0 comments on commit d021e4a

Please sign in to comment.