Skip to content

Commit

Permalink
Merge pull request #1103 from neet/add-language-attribute-preview-card
Browse files Browse the repository at this point in the history
fix: Add missing `language` attribute to PreviewCard type
  • Loading branch information
neet committed Apr 28, 2024
2 parents 5f5ea44 + 6c6fdef commit 9b790d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mastodon/entities/v1/preview-card.ts
Expand Up @@ -36,6 +36,8 @@ export interface PreviewCard {
image?: string | null;
/** Used for photo embeds, instead of custom `html`. */
embedUrl: string;
/** @see https://github.com/mastodon/mastodon/pull/27503 */
language?: string;
}

export interface TrendLink extends PreviewCard {
Expand Down

0 comments on commit 9b790d1

Please sign in to comment.