Skip to content

Commit 6c6fdef

Browse files
committed
fix: Add missing language attribute to PreviewCard type
1 parent bbfb99d commit 6c6fdef

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/mastodon/entities/v1/preview-card.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ export interface PreviewCard {
3636
image?: string | null;
3737
/** Used for photo embeds, instead of custom `html`. */
3838
embedUrl: string;
39+
/** @see https://github.com/mastodon/mastodon/pull/27503 */
40+
language?: string;
3941
}
4042

4143
export interface TrendLink extends PreviewCard {

0 commit comments

Comments
 (0)