Use correct properties for account (IOS-241)

This commit is contained in:
Nathan Mattes 2024-07-09 18:29:05 +02:00
parent 5473e7f3f9
commit b119a6db1f

View File

@ -7,15 +7,15 @@ extension Mastodon.Entity {
public let id: String
public let createdAt: Date
public let updatedAt: Date
public let fromAccount: Mastodon.Entity.Account
public let notificationsCount: Int
public let account: Mastodon.Entity.Account
public let notificationsCount: String // contains an `Int`
public let lastStatus: Mastodon.Entity.Status?
enum CodingKeys: String, CodingKey {
case id = "id"
case createdAt = "created_at"
case updatedAt = "updated_at"
case fromAccount = "from_account"
case account = "account"
case notificationsCount = "notifications_count"
case lastStatus = "last_status"
}