mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-10-19 22:27:20 +02:00
multiple fixes
This commit is contained in:
31 files changed
+1513
-464
No files matched your search
@@ -21,6 +21,14 @@ const UserSchema = new Schema({
|
||||
},
|
||||
],
|
||||
isAdmin: { type: Boolean, default: false },
|
||||
apiTokens: [
|
||||
{
|
||||
tokenHash: { type: String, index: true },
|
||||
name: { type: String },
|
||||
createdAt: { type: Date, default: Date.now },
|
||||
lastUsedAt: { type: Date },
|
||||
},
|
||||
],
|
||||
photo: String,
|
||||
repositories: [
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user