fix: affiliationsSchema not matching IAffiliation

This commit is contained in:
Sainan 2024-06-25 00:56:32 +02:00
parent ac6eaa2f4e
commit c37d6b405d

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 }