Improved Patreon linking

This commit is contained in:
Stefan Zermatten
2019-03-07 13:35:31 +02:00
parent b3371fca53
commit 857213f157
6 changed files with 224 additions and 51 deletions

View File

@@ -86,9 +86,14 @@ Schemas.User = new SimpleSchema({
type: String,
optional: true,
},
"patreon.tokenExpiryDate": {
type: Date,
optional: true,
},
"patreon.userId": {
type: String,
optional: true,
index: 1,
},
"patreon.entitledCents": {
type: Number,