fix: improve getToken

This commit is contained in:
tdurieux
2023-02-15 19:22:11 +01:00
parent 99f837c3cf
commit fb9bbe105a
3 changed files with 37 additions and 20 deletions

View File

@@ -17,6 +17,7 @@ const AnonymizedRepositorySchema = new Schema({
accessToken: String,
owner: {
type: Schema.Types.ObjectId,
ref: "user",
index: true,
},
conference: String,