Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
feat: fixed ts failing
=95483eb83e72
diff --git a/backend/src/server/routes/v1/organization-router.ts b/backend/src/server/routes/v1/organization-router.tsindex 592a82283f..82c6716af2 100644--- a/backend/src/server/routes/v1/organization-router.ts+++ b/backend/src/server/routes/v1/organization-router.ts@@ -311,9 +311,8 @@ export const registerOrgRouter = async (server: FastifyZodProvider) => {email: true,firstName: true,lastName: true,- id: true,- superAdmin: true- }).merge(z.object({ publicKey: z.string().nullable().optional() }))+ id: true+ }).merge(z.object({ publicKey: z.string().nullable().optional(), superAdmin: z.boolean().nullish() }))})).omit({ createdAt: true, updatedAt: true })diff --git a/frontend/src/pages/auth/SelectOrgPage/SelectOrgPage.tsx b/frontend/src/pages/auth/SelectOrgPage/SelectOrgPage.tsxindex 1b5108bcde..450684487c 100644--- a/frontend/src/pages/auth/SelectOrgPage/SelectOrgPage.tsx+++ b/frontend/src/pages/auth/SelectOrgPage/SelectOrgPage.tsx@@ -210,7 +210,6 @@ export const SelectOrgPage = () => {if (callbackPort) {let error: string | null = null;- console.log(user);if (!user?.email) error = "User email not found";if (!token) error = "No token found";