diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-04-14 22:59:58 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-04-14 22:59:58 -0400 |
commit | c6360fb4aed348f6f6a3c7412b6acc0d1990c239 (patch) | |
tree | 3018ea887b40bacac92a137206d5e5f5c34a12bd /src/fields/DocumentReference.ts | |
parent | 5fbee077873c3dd0a9b5939babbaa1fd4dfe1393 (diff) | |
parent | c787b0eac374b4dabf6ede7ee40e77a28815d5c8 (diff) |
merged with master
Diffstat (limited to 'src/fields/DocumentReference.ts')
-rw-r--r-- | src/fields/DocumentReference.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fields/DocumentReference.ts b/src/fields/DocumentReference.ts index 9d3c209b4..303754177 100644 --- a/src/fields/DocumentReference.ts +++ b/src/fields/DocumentReference.ts @@ -47,11 +47,11 @@ export class DocumentReference extends Field { return ""; } - ToJson(): { type: Types, data: FieldId, _id: string } { + ToJson() { return { type: Types.DocumentReference, data: this.document.Id, - _id: this.Id - } + id: this.Id + }; } }
\ No newline at end of file |