fix: update calendar progress at daily reset #2365
@ -109,7 +109,9 @@ export const inventoryController: RequestHandler = async (request, response) =>
|
||||
}
|
||||
}
|
||||
|
||||
getCalendarProgress(inventory); // handle year rollover; the client expects to receive an inventory with an up-to-date CalendarProgress
|
||||
if (inventory.CalendarProgress) {
|
||||
getCalendarProgress(inventory); // handle year rollover; the client expects to receive an inventory with an up-to-date CalendarProgress
|
||||
}
|
||||
|
||||
cleanupInventory(inventory);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user