Rename post.embed_html field to embed_video_url (#75)

https://github.com/LemmyNet/lemmy/pull/2261
This commit is contained in:
Nutomic 2022-09-13 21:23:11 +00:00 committed by GitHub
parent e266c65a7f
commit ca66e1b8ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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()