From 38277ac073a76fbd89f99b89b6e3e0f54593c640 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Tue, 13 Sep 2022 22:53:43 +0200 Subject: [PATCH] Rename post.embed_html field to embed_video_url https://github.com/LemmyNet/lemmy/pull/2261 --- src/interfaces/source.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interfaces/source.ts b/src/interfaces/source.ts index 2756fa0..789c853 100644 --- a/src/interfaces/source.ts +++ b/src/interfaces/source.ts @@ -193,7 +193,7 @@ export class Post { @Transform(({ value }) => toOption(value), { toClassOnly: true }) @Transform(({ value }) => toUndefined(value), { toPlainOnly: true }) @Expose() - embed_html: Option; + embed_video_url: Option; @Transform(({ value }) => toOption(value), { toClassOnly: true }) @Transform(({ value }) => toUndefined(value), { toPlainOnly: true }) @Expose()