fix: close connection for dating saveDialogue request (#1873)
All checks were successful
Build Docker image / docker (push) Successful in 41s
Build / build (push) Successful in 1m31s

Missing fix for #1852

Reviewed-on: #1873
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
Sainan 2025-04-26 12:14:42 -07:00 committed by Sainan
parent ca1b6c31b6
commit de36e2ee8d

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();
} }
} }
}; };