mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Patch integration issues
This commit is contained in:
@@ -12,13 +12,13 @@ export async function up(knex: Knex): Promise<void> {
|
||||
t.string("url"); // for self hosted
|
||||
t.string("namespace"); // hashicorp specific
|
||||
t.string("accountId"); // netlify
|
||||
t.string("refreshCiphertext");
|
||||
t.text("refreshCiphertext");
|
||||
t.string("refreshIV");
|
||||
t.string("refreshTag");
|
||||
t.string("accessIdCiphertext");
|
||||
t.string("accessIdIV");
|
||||
t.string("accessIdTag");
|
||||
t.string("accessCiphertext");
|
||||
t.text("accessCiphertext");
|
||||
t.string("accessIV");
|
||||
t.string("accessTag");
|
||||
t.datetime("accessExpiresAt");
|
||||
|
||||
@@ -18,6 +18,7 @@ export const registerIntegrationAuthRouter = async (server: FastifyZodProvider)
|
||||
.object({
|
||||
name: z.string(),
|
||||
slug: z.string(),
|
||||
clientSlug: z.string().optional(),
|
||||
image: z.string(),
|
||||
isAvailable: z.boolean().optional(),
|
||||
type: z.string(),
|
||||
@@ -192,7 +193,7 @@ export const registerIntegrationAuthRouter = async (server: FastifyZodProvider)
|
||||
apps: z
|
||||
.object({
|
||||
name: z.string(),
|
||||
appId: z.string().optional(),
|
||||
appId: z.coerce.string().optional(),
|
||||
owner: z.string().optional()
|
||||
})
|
||||
.array()
|
||||
@@ -533,7 +534,7 @@ export const registerIntegrationAuthRouter = async (server: FastifyZodProvider)
|
||||
type: z.string(),
|
||||
is_private: z.boolean(),
|
||||
created_on: z.string(),
|
||||
updated_on: z.string()
|
||||
updated_on: z.string().optional()
|
||||
})
|
||||
.array()
|
||||
})
|
||||
|
||||
@@ -770,7 +770,7 @@ export const integrationAuthServiceFactory = ({
|
||||
`;
|
||||
|
||||
const variables = {
|
||||
projectId: appId
|
||||
id: appId
|
||||
};
|
||||
|
||||
const {
|
||||
|
||||
Reference in New Issue
Block a user