Rename post.embed_html field to embed_video_url

https://github.com/LemmyNet/lemmy/pull/2261
This commit is contained in:
Felix Ableitner 2022-09-13 22:53:43 +02:00
parent e266c65a7f
commit 38277ac073

View file

@ -193,7 +193,7 @@ export class Post {
@Transform(({ value }) => toOption(value), { toClassOnly: true })
@Transform(({ value }) => toUndefined(value), { toPlainOnly: true })
@Expose()
embed_html: Option<string>;
embed_video_url: Option<string>;
@Transform(({ value }) => toOption(value), { toClassOnly: true })
@Transform(({ value }) => toUndefined(value), { toPlainOnly: true })
@Expose()