mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-05-17 15:23:28 +02:00
fix: improve token management
This commit is contained in:
@@ -4,6 +4,9 @@ const UserSchema = new Schema({
|
||||
accessTokens: {
|
||||
github: { type: String },
|
||||
},
|
||||
accessTokenDates: {
|
||||
github: { type: Date },
|
||||
},
|
||||
externalIDs: {
|
||||
github: { type: String, index: true },
|
||||
},
|
||||
|
||||
@@ -4,6 +4,9 @@ export interface IUser {
|
||||
accessTokens: {
|
||||
github: string;
|
||||
};
|
||||
accessTokenDates?: {
|
||||
github: Date;
|
||||
};
|
||||
externalIDs: {
|
||||
github: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user