fix: close connection for dating saveDialogue request
This commit is contained in:
parent
ca1b6c31b6
commit
519565fff0
@ -72,6 +72,8 @@ export const saveDialogueController: RequestHandler = async (req, res) => {
|
||||
InventoryChanges: inventoryChanges,
|
||||
AvailableGiftDate: { $date: { $numberLong: tomorrowAt0Utc.toString() } }
|
||||
});
|
||||
} else {
|
||||
res.end();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user