fix missing response
This commit is contained in:
parent
7ac305036c
commit
014772b7bf
@ -16,6 +16,7 @@ const saveLoadoutController: RequestHandler = async (req, res) => {
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
const { UpgradeVer, ...equipmentChanges } = body;
|
||||
await handleInventoryItemConfigChange(equipmentChanges, accountId);
|
||||
res.status(200).end();
|
||||
} catch (error: unknown) {
|
||||
if (error instanceof Error) {
|
||||
res.status(400).json({ error: error.message });
|
||||
|
Loading…
x
Reference in New Issue
Block a user