diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2019-04-14 21:44:36 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2019-04-14 21:44:36 -0400 |
| commit | a5ae4d9867ed98e0e3ae52dee47596c62e2f74f7 (patch) | |
| tree | 46bd0ab317c5a61892071071a5ab6889a1a97911 /src/fields/VideoField.ts | |
| parent | 7b7f1fb2865522da414314afbdb09847e7a9409c (diff) | |
| parent | c787b0eac374b4dabf6ede7ee40e77a28815d5c8 (diff) | |
Merge branch 'master' into interaction_changes
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 d7cd7e968..838b811b1 100644 --- a/src/fields/VideoField.ts +++ b/src/fields/VideoField.ts @@ -19,11 +19,11 @@ export class VideoField extends BasicField<URL> { return new VideoField(this.Data); } - ToJson(): { type: Types, data: string, _id: string } { + ToJson() { return { type: Types.Video, data: this.Data.href, - _id: this.Id + id: this.Id }; } |
