From d4c55eeec30b2b43e62a6d1c67a08f7d6952d214 Mon Sep 17 00:00:00 2001 From: Bhanu Prakash Sai Potteri Date: Wed, 19 Aug 2026 13:04:38 +0530 Subject: [PATCH] fix: send org_id as string on login (dev user-service) --- src/hooks/useAuth.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hooks/useAuth.ts b/src/hooks/useAuth.ts index fcbffcd..56b5d55 100644 --- a/src/hooks/useAuth.ts +++ b/src/hooks/useAuth.ts @@ -43,7 +43,8 @@ export function useAuth() { body: JSON.stringify({ email, password, - ...(orgId ? { org_id: Number(orgId) } : {}), + // dev's user-service unmarshals org_id as a string. + ...(orgId ? { org_id: orgId } : {}), }), });