diff options
| author | Andrew Kim <andrewdkim@users.noreply.github.com> | 2019-04-20 18:42:01 -0400 |
|---|---|---|
| committer | Andrew Kim <andrewdkim@users.noreply.github.com> | 2019-04-20 18:42:01 -0400 |
| commit | 840de58f003d0962ef7d3a0ad6ea284d1f4870db (patch) | |
| tree | 32377ecaedceb24e54b6645ae76f3a5e0171fd54 /src/fields/VideoField.ts | |
| parent | 604d20941837fa90c06a7da7e77a27c262cd4648 (diff) | |
| parent | e47656cdc18aa1fd801a3853fa0f819140a68646 (diff) | |
update
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 }; } |
