Added fetching User data from patreon and writing it to the DiceCloud user database
This commit is contained in:
@@ -74,6 +74,36 @@ 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.userId": {
|
||||
type: String,
|
||||
optional: true,
|
||||
},
|
||||
"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);
|
||||
|
||||
Reference in New Issue
Block a user