Use correct properties for account (IOS-241)
This commit is contained in:
parent
5473e7f3f9
commit
b119a6db1f
@ -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"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user