diff options
author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-03-18 03:42:06 -0400 |
---|---|---|
committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-03-18 03:42:06 -0400 |
commit | 1a81b9f6255b2b2941e21da3662b9c5e71209989 (patch) | |
tree | 2d0bbc5d258c59148bf56533ef32723af8c8eb5f /src/fields/VideoField.ts | |
parent | a300c4e5040e975cdcd7367a1345335d52ff6aad (diff) | |
parent | 6d5236bf6440157ad4d489acd1420554b77be577 (diff) |
Merge branch 'master' of github-tsch-brown:browngraphicslab/Dash-Web into server_dev
Diffstat (limited to 'src/fields/VideoField.ts')
-rw-r--r-- | src/fields/VideoField.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fields/VideoField.ts b/src/fields/VideoField.ts index 5f4ae19bf..626e4ec83 100644 --- a/src/fields/VideoField.ts +++ b/src/fields/VideoField.ts @@ -19,10 +19,10 @@ export class VideoField extends BasicField<URL> { return new VideoField(this.Data); } - ToJson(): { type: Types, data: URL, _id: string } { + ToJson(): { type: Types, data: string, _id: string } { return { type: Types.Video, - data: this.Data, + data: this.Data.href, _id: this.Id } } |