From ca66e1b8bab086124b2afc8da39804530e2a96d3 Mon Sep 17 00:00:00 2001 From: Nutomic Date: Tue, 13 Sep 2022 21:23:11 +0000 Subject: [PATCH] Rename post.embed_html field to embed_video_url (#75) 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()