返回提交历史
Modified
src/models/inventoryModels/inventoryModel.ts
+3
-3
XFEstudio/XFESpaceNinjaServer
fix: affiliationsSchema not matching IAffiliation (#399)
ae6ccb98
代码差异
1 个文件
+3
-3
@@ -398,9 +398,9 @@ const affiliationsSchema = new Schema<IAffiliation>(
398
398
{
399
399
Initiated: Boolean,
400
400
Standing: Number,
401
Title: String,
402
FreeFavorsEarned: [Number],
403
FreeFavorsUsed: [Number],
401
Title: Number,
402
FreeFavorsEarned: { type: [Number], default: undefined },
403
FreeFavorsUsed: { type: [Number], default: undefined },
404
404
Tag: String
405
405
},
406
406
{ _id: false }