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