Remove all restrictions based on Patreon account (hopefully)

This commit is contained in:
Jawshoeadan
2022-12-11 15:41:43 -06:00
parent b02b9197d0
commit f92dd7a872
3 changed files with 29 additions and 28 deletions

View File

@@ -52,15 +52,16 @@ public class PatreonAccount: NSManagedObject, Fetchable
self.name = response.data.attributes.full_name
self.firstName = response.data.attributes.first_name
if let patronResponse = response.included?.first
{
let patron = Patron(response: patronResponse)
self.isPatron = (patron.status == .active)
}
else
{
self.isPatron = false
}
// if let patronResponse = response.included?.first
// {
// let patron = Patron(response: patronResponse)
// self.isPatron = (patron.status == .active)
// }
// else
// {
// self.isPatron = false
// }
self.isPatron = true
}
}