Update src/services/missionInventoryUpdateService.ts
Some checks failed
Build / build (pull_request) Failing after 1m3s
Some checks failed
Build / build (pull_request) Failing after 1m3s
This commit is contained in:
parent
bb8d766971
commit
0615656674
@ -1160,7 +1160,6 @@ export const addMissionRewards = async (
|
||||
if (!alert) {
|
||||
logger.warn(`mission completed unknown alert`, { alertId: rewardInfo.alertId });
|
||||
} else {
|
||||
inventory.CompletedAlerts ??= [];
|
||||
if (inventory.CompletedAlerts.includes(alert._id.$oid)) {
|
||||
logger.debug(`alert ${alert._id.$oid} already completed, skipping alert reward`);
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user