Fixes error fetching Friend Zone patrons due to unexpected nil name

This commit is contained in:
Riley Testut
2023-03-28 14:37:47 -05:00
parent 6b42e82e3e
commit adaf7a2560
3 changed files with 8 additions and 5 deletions

View File

@@ -14,7 +14,7 @@ extension PatreonAPI
{
struct Attributes: Decodable
{
var full_name: String
var full_name: String?
var patron_status: String?
}
@@ -54,7 +54,7 @@ extension Patron
public class Patron
{
public var name: String
public var name: String?
public var identifier: String
public var status: Status