Compare commits

...

1 commit

Author SHA1 Message Date
Felix Ableitner
38277ac073 Rename post.embed_html field to embed_video_url
https://github.com/LemmyNet/lemmy/pull/2261
2022-09-13 22:53:43 +02:00

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