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,
Standing: Number,
Title: String,
FreeFavorsEarned: [Number],
FreeFavorsUsed: [Number],
Title: Number,
FreeFavorsEarned: { type: [Number], default: undefined },
FreeFavorsUsed: { type: [Number], default: undefined },
Tag: String
},
{ _id: false }