mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-03-04 20:03:20 +00:00
feat: add support for multiple access token provider
This commit is contained in:
@@ -2,7 +2,9 @@ import * as mongoose from "mongoose";
|
||||
const { Schema } = mongoose;
|
||||
|
||||
const UserSchema = new Schema({
|
||||
accessToken: String,
|
||||
accessTokens: {
|
||||
github: { type: String },
|
||||
},
|
||||
username: {
|
||||
type: String,
|
||||
index: { unique: true },
|
||||
|
||||
Reference in New Issue
Block a user