don't need to do this if the user never had a CalendarProgress to begin with, probably
All checks were successful
Build / build (pull_request) Successful in 49s
All checks were successful
Build / build (pull_request) Successful in 49s
This commit is contained in:
parent
77285b828d
commit
4e5ee5e88d
@ -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