aboutsummaryrefslogtreecommitdiff
path: root/src/new_fields/Doc.ts
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-07-25 12:58:34 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-07-25 12:58:34 -0400
commit18a0850353b0fc55cbf7ae1d4e2763919fc78bca (patch)
tree36aeee29be553bcc9346cc4effef81b1fdf7dd42 /src/new_fields/Doc.ts
parentce71ea9b87427e41c65012c297aab9afc712b4ba (diff)
Fixed async deserialization bug
Diffstat (limited to 'src/new_fields/Doc.ts')
-rw-r--r--src/new_fields/Doc.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/new_fields/Doc.ts b/src/new_fields/Doc.ts
index 5e98ec48c..0a5bdc4b7 100644
--- a/src/new_fields/Doc.ts
+++ b/src/new_fields/Doc.ts
@@ -78,7 +78,7 @@ function fetchProto(doc: Doc) {
let updatingFromServer = false;
@scriptingGlobal
-@Deserializable("doc", fetchProto).withFields(["id"])
+@Deserializable("Doc", fetchProto).withFields(["id"])
export class Doc extends RefField {
constructor(id?: FieldId, forceSave?: boolean) {
super(id);