mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 12:27:31 +00:00
Merge pull request #1340 from Infisical/vercel-issue
Patch Vercel integration for team accounts
This commit is contained in:
@@ -7,6 +7,7 @@ export type IntegrationAuth = {
|
|||||||
updatedAt: string;
|
updatedAt: string;
|
||||||
algorithm: string;
|
algorithm: string;
|
||||||
keyEncoding: string;
|
keyEncoding: string;
|
||||||
|
teamId?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type App = {
|
export type App = {
|
||||||
|
|||||||
@@ -52,7 +52,8 @@ export default function VercelCreateIntegrationPage() {
|
|||||||
const { data: integrationAuth } = useGetIntegrationAuthById((integrationAuthId as string) ?? "");
|
const { data: integrationAuth } = useGetIntegrationAuthById((integrationAuthId as string) ?? "");
|
||||||
const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } =
|
const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } =
|
||||||
useGetIntegrationAuthApps({
|
useGetIntegrationAuthApps({
|
||||||
integrationAuthId: (integrationAuthId as string) ?? ""
|
integrationAuthId: (integrationAuthId as string) ?? "",
|
||||||
|
teamId: integrationAuth?.teamId as string
|
||||||
});
|
});
|
||||||
|
|
||||||
const { data: branches } = useGetIntegrationAuthVercelBranches({
|
const { data: branches } = useGetIntegrationAuthVercelBranches({
|
||||||
|
|||||||
Reference in New Issue
Block a user