diff options
author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-04-14 00:55:02 -0400 |
---|---|---|
committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-04-14 00:55:02 -0400 |
commit | 62bef22f6de775f7c2a33a2eb42e34ee9ee321d8 (patch) | |
tree | 80a4e4b76169759d0670d20eb65a8a4f5239ac83 /src/fields/HtmlField.ts | |
parent | 8c801b3c98e1eaae297b0f1682b42fc478a1b887 (diff) | |
parent | 9e3bfb7308247af8766bff73d02d566a746735b9 (diff) |
Merge branch 'master' of github-tsch-brown:browngraphicslab/Dash-Web into tyler_search
Diffstat (limited to 'src/fields/HtmlField.ts')
-rw-r--r-- | src/fields/HtmlField.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fields/HtmlField.ts b/src/fields/HtmlField.ts index 65665cf7a..a1d880070 100644 --- a/src/fields/HtmlField.ts +++ b/src/fields/HtmlField.ts @@ -15,11 +15,11 @@ export class HtmlField extends BasicField<string> { return new HtmlField(this.Data); } - ToJson(): { _id: string; type: Types; data: string; } { + ToJson() { return { type: Types.Html, data: this.Data, - _id: this.Id, + id: this.Id, }; } }
\ No newline at end of file |