mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-13 10:52:53 +00:00
feat: github connect uses user id instead of username
This commit is contained in:
@@ -5,6 +5,9 @@ const UserSchema = new Schema({
|
||||
accessTokens: {
|
||||
github: { type: String },
|
||||
},
|
||||
externalIDs: {
|
||||
github: { type: String },
|
||||
},
|
||||
username: {
|
||||
type: String,
|
||||
index: { unique: true },
|
||||
|
||||
@@ -4,7 +4,9 @@ export interface IUser {
|
||||
accessTokens: {
|
||||
github: string;
|
||||
};
|
||||
|
||||
externalIDs: {
|
||||
github: string;
|
||||
};
|
||||
username: string;
|
||||
emails: {
|
||||
email: string;
|
||||
|
||||
Reference in New Issue
Block a user