fix: close connection for dating saveDialogue request
All checks were successful
Build / build (pull_request) Successful in 54s
Build / build (push) Successful in 1m34s

This commit is contained in:
Sainan 2025-04-26 21:09:51 +02:00
parent ca1b6c31b6
commit 519565fff0

View File

@ -72,6 +72,8 @@ export const saveDialogueController: RequestHandler = async (req, res) => {
InventoryChanges: inventoryChanges, InventoryChanges: inventoryChanges,
AvailableGiftDate: { $date: { $numberLong: tomorrowAt0Utc.toString() } } AvailableGiftDate: { $date: { $numberLong: tomorrowAt0Utc.toString() } }
}); });
} else {
res.end();
} }
} }
}; };