fix: affiliationsSchema not matching IAffiliation (#399)

This commit is contained in:
Sainan 2024-06-25 02:06:05 +02:00 committed by GitHub
parent ac6eaa2f4e
commit ae6ccb981a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -398,9 +398,9 @@ const affiliationsSchema = new Schema<IAffiliation>(
{ {
Initiated: Boolean, Initiated: Boolean,
Standing: Number, Standing: Number,
Title: String, Title: Number,
FreeFavorsEarned: [Number], FreeFavorsEarned: { type: [Number], default: undefined },
FreeFavorsUsed: [Number], FreeFavorsUsed: { type: [Number], default: undefined },
Tag: String Tag: String
}, },
{ _id: false } { _id: false }