返回提交历史
Modified
src/services/missionInventoryUpdateService.ts
+3
-1
XFEstudio/XFESpaceNinjaServer
fix: don't error when legacy version uses updateInventory for challenges (#3228)
Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/3228 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
ebecff32
代码差异
1 个文件
+3
-1
@@ -1202,7 +1202,9 @@ export const addMissionRewards = async (
1202
1202
1203
1203
if (!rewardInfo) {
1204
1204
//TODO: if there is a case where you can have credits collected during a mission but no rewardInfo, add credits needs to be handled earlier
1205
logger.debug(`Mission ${missions!.Tag} did not have Reward Info `);
1205
if (missions?.Tag) {
1206
logger.debug(`Mission ${missions.Tag} did not have Reward Info `);
1207
}
1206
1208
return { MissionRewards: [], AffiliationMods };
1207
1209
}
1208
1210