aboutsummaryrefslogtreecommitdiff
path: root/src/fields/TupleField.ts
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-04-14 00:55:02 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-04-14 00:55:02 -0400
commit62bef22f6de775f7c2a33a2eb42e34ee9ee321d8 (patch)
tree80a4e4b76169759d0670d20eb65a8a4f5239ac83 /src/fields/TupleField.ts
parent8c801b3c98e1eaae297b0f1682b42fc478a1b887 (diff)
parent9e3bfb7308247af8766bff73d02d566a746735b9 (diff)
Merge branch 'master' of github-tsch-brown:browngraphicslab/Dash-Web into tyler_search
Diffstat (limited to 'src/fields/TupleField.ts')
-rw-r--r--src/fields/TupleField.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fields/TupleField.ts b/src/fields/TupleField.ts
index ad0f6f350..347f1fa05 100644
--- a/src/fields/TupleField.ts
+++ b/src/fields/TupleField.ts
@@ -49,11 +49,11 @@ export class TupleField<T, U> extends BasicField<[T, U]> {
return new TupleField<T, U>(this.Data);
}
- ToJson(): { type: Types, data: [T, U], _id: string } {
+ ToJson() {
return {
type: Types.Tuple,
data: this.Data,
- _id: this.Id
+ id: this.Id
};
}
} \ No newline at end of file