返回提交历史
Modified
src/services/importService.ts
+1
-1
XFEstudio/SpaceNinjaServer
chore(import): convert CurrentLoadOutIds (#3159)
Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/3159 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
434812be
代码差异
1 个文件
+1
-1
@@ -399,7 +399,7 @@ export const importInventory = (db: TInventoryDatabaseDocument, client: Partial<
399
399
db.XPInfo = client.XPInfo;
400
400
}
401
401
if (client.CurrentLoadOutIds !== undefined) {
402
db.CurrentLoadOutIds = client.CurrentLoadOutIds;
402
db.CurrentLoadOutIds = client.CurrentLoadOutIds.map(x => new Types.ObjectId(x.$oid));
403
403
}
404
404
if (client.Affiliations !== undefined) {
405
405
db.Affiliations = client.Affiliations;