Removed all patreon based restrictions

This commit is contained in:
Stefan Zermatten
2021-07-17 14:10:06 +02:00
parent 03b7f1037e
commit c6b633613c
14 changed files with 2087 additions and 659 deletions

View File

@@ -74,41 +74,6 @@ Schemas.User = new SimpleSchema({
type: String,
optional: true,
},
patreon: {
type: Object,
optional: true,
},
"patreon.accessToken": {
type: String,
optional: true,
},
"patreon.refreshToken": {
type: String,
optional: true,
},
"patreon.tokenExpiryDate": {
type: Date,
optional: true,
},
"patreon.userId": {
type: String,
optional: true,
index: 1,
},
"patreon.entitledCents": {
type: Number,
decimal: false,
optional: true,
},
"patreon.entitledCentsOverride": {
type: Number,
decimal: false,
optional: true,
},
"patreon.error": {
type: String,
optional: true,
},
});
Meteor.users.attachSchema(Schemas.User);