Add optional author-account (IOS-284)

This commit is contained in:
Nathan Mattes 2024-06-26 18:22:10 +02:00
parent 1a8fbe7692
commit 3adae7b3c3
1 changed files with 3 additions and 1 deletions

View File

@ -33,7 +33,8 @@ extension Mastodon.Entity {
public let image: String?
public let embedURL: String?
public let blurhash: String?
public let authorAccount: Mastodon.Entity.Account?
enum CodingKeys: String, CodingKey {
case url
case title
@ -49,6 +50,7 @@ extension Mastodon.Entity {
case image
case embedURL = "embed_url"
case blurhash
case authorAccount = "author_account"
}
}
}