Re-enables checking if Patreon account is a patron

This commit is contained in:
Riley Testut
2019-09-25 00:53:36 -07:00
parent 865e3778b8
commit 1504a277d5
4 changed files with 7 additions and 7 deletions

View File

@@ -54,12 +54,12 @@ class PatreonAccount: NSManagedObject, Fetchable
if let patronResponse = response.included?.first
{
_ = Patron(response: patronResponse)
self.isPatron = true
let patron = Patron(response: patronResponse)
self.isPatron = (patron.status == .active)
}
else
{
self.isPatron = true
self.isPatron = false
}
}
}