XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFESpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/XFESpaceNinjaServer

fix: affiliationsSchema not matching IAffiliation (#399)

ae6ccb98
Sainan <sainan@calamity.gg>
提交于

代码差异

1 个文件 +3 -3
Modified src/models/inventoryModels/inventoryModel.ts +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 }