aboutsummaryrefslogtreecommitdiff
path: root/src/fields/Document.ts
diff options
context:
space:
mode:
authormadelinegr <laura_wilson@brown.edu>2019-02-13 17:40:08 -0500
committermadelinegr <laura_wilson@brown.edu>2019-02-13 17:40:08 -0500
commitbb3ebfa2e3176fdfb648cb7da052e07989fee050 (patch)
tree95bca297ca99f9bacc4512c44ab573ef5ce7bdae /src/fields/Document.ts
parent430878f6dd8d36b1322e15d0898ada0d44fecacb (diff)
broke even
Diffstat (limited to 'src/fields/Document.ts')
-rw-r--r--src/fields/Document.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fields/Document.ts b/src/fields/Document.ts
index 56ac3c471..f7239145f 100644
--- a/src/fields/Document.ts
+++ b/src/fields/Document.ts
@@ -159,7 +159,7 @@ export class Document extends Field {
throw new Error("Method not implemented.");
}
- ToJson(): { type: Types, data: [string, string][], _id: ObjectID } {
+ ToJson(): { type: Types, data: [string, string][], _id: String } {
let fields: [string, string][] = []
this._proxies.forEach((field, key) => {
if (field) {