fix: affiliationsSchema not matching IAffiliation #399

Merged
Sainan merged 1 commits from fix-type-incongruence into main 2024-06-24 17:06:05 -07:00

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 }