From 85b517f7f4f9a735a864ba0ce64a022f7da3042a Mon Sep 17 00:00:00 2001 From: Andrew Rumble Date: Mon, 1 Sep 2025 11:39:20 +0100 Subject: [PATCH] Coerce strings when sending a Group Sub add users sales request GitOrigin-RevId: d935d43ed35996d3979854b5368ccc283c58b58a --- .../src/Features/Subscription/SubscriptionGroupController.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/src/Features/Subscription/SubscriptionGroupController.mjs b/services/web/app/src/Features/Subscription/SubscriptionGroupController.mjs index d9a5031014..8c5c2bb976 100644 --- a/services/web/app/src/Features/Subscription/SubscriptionGroupController.mjs +++ b/services/web/app/src/Features/Subscription/SubscriptionGroupController.mjs @@ -304,7 +304,7 @@ async function createAddSeatsSubscriptionChange(req, res) { const submitFormSchema = z.object({ body: z.object({ - adding: z.number().int().min(MAX_NUMBER_OF_USERS), + adding: z.coerce.number().int().min(MAX_NUMBER_OF_USERS), poNumber: z.string().optional(), }), })