keep missionInventoryUpdate untouched

This commit is contained in:
Sainan 2024-12-29 21:39:21 +01:00
parent 6cd9a9779d
commit 99e9b24153

View File

@ -49,7 +49,8 @@ const missionInventoryUpdateController: RequestHandler = async (req, res): Promi
const accountId = await getAccountIdForRequest(req);
try {
const lootInventory = getJSONfromString(String(req.body)) as IMissionInventoryUpdateRequest;
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-call
const lootInventory = getJSONfromString(req.body.toString()) as IMissionInventoryUpdateRequest;
logger.debug("missionInventoryUpdate with lootInventory =", lootInventory);