Fix error decoding InstanceV2 response on certain instances
This commit is contained in:
parent
f5e9f66f76
commit
c6b230414e
|
@ -53,7 +53,7 @@ extension InstanceV2 {
|
||||||
public struct Thumbnail: Decodable, Sendable {
|
public struct Thumbnail: Decodable, Sendable {
|
||||||
public let url: String
|
public let url: String
|
||||||
public let blurhash: String?
|
public let blurhash: String?
|
||||||
public let versions: ThumbnailVersions
|
public let versions: ThumbnailVersions?
|
||||||
}
|
}
|
||||||
|
|
||||||
public struct ThumbnailVersions: Decodable, Sendable {
|
public struct ThumbnailVersions: Decodable, Sendable {
|
||||||
|
@ -120,6 +120,6 @@ extension InstanceV2 {
|
||||||
extension InstanceV2 {
|
extension InstanceV2 {
|
||||||
public struct Contact: Decodable, Sendable {
|
public struct Contact: Decodable, Sendable {
|
||||||
public let email: String
|
public let email: String
|
||||||
public let account: Account
|
public let account: Account?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue