fix: send org_id as string on login (dev user-service)

This commit is contained in:
Bhanu Prakash Sai Potteri 2026-08-19 13:04:38 +05:30
parent 8f67e53529
commit d4c55eeec3

View File

@ -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 } : {}),
}),
});