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
Improve types
x032205c974df104eaf
diff --git a/backend/src/services/app-connection/github/github-connection-schemas.ts b/backend/src/services/app-connection/github/github-connection-schemas.tsindex 2a39208c30..1b8aa9c3f5 100644--- a/backend/src/services/app-connection/github/github-connection-schemas.ts+++ b/backend/src/services/app-connection/github/github-connection-schemas.ts@@ -118,14 +118,14 @@ export const SanitizedGitHubConnectionSchema = z.discriminatedUnion("method", [BaseGitHubConnectionSchema.extend({method: z.literal(GitHubConnectionMethod.App),credentials: z.object({- instanceType: z.string().optional(),+ instanceType: z.union([z.literal("server"), z.literal("cloud")]).optional(),host: z.string().optional()})}),BaseGitHubConnectionSchema.extend({method: z.literal(GitHubConnectionMethod.OAuth),credentials: z.object({- instanceType: z.string().optional(),+ instanceType: z.union([z.literal("server"), z.literal("cloud")]).optional(),host: z.string().optional()})})