Update app.R
Browse files
app.R
CHANGED
|
@@ -42,6 +42,8 @@ check_patreon_access <- function(email) {
|
|
| 42 |
if (patron_status == "active_patron") {
|
| 43 |
# Get tier info
|
| 44 |
tier_data <- content$data$relationships$currently_entitled_tiers$data[[matching_row]]
|
|
|
|
|
|
|
| 45 |
|
| 46 |
result <- tier_id %in% c("25062087", "25062090")
|
| 47 |
|
|
|
|
| 42 |
if (patron_status == "active_patron") {
|
| 43 |
# Get tier info
|
| 44 |
tier_data <- content$data$relationships$currently_entitled_tiers$data[[matching_row]]
|
| 45 |
+
|
| 46 |
+
tier_id <- tier_data$id
|
| 47 |
|
| 48 |
result <- tier_id %in% c("25062087", "25062090")
|
| 49 |
|