From 32fdee59ca44e3edf47d888945d0e8e65dd62294 Mon Sep 17 00:00:00 2001 From: boxbeam Date: Thu, 25 Apr 2024 19:43:57 -0400 Subject: [PATCH] Fix ui code --- .../github/detail/components/provider-detail-form.tsx | 6 +++--- .../repository/github/new/components/new-page.tsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ee/tabby-ui/app/(dashboard)/settings/(integrations)/repository/github/detail/components/provider-detail-form.tsx b/ee/tabby-ui/app/(dashboard)/settings/(integrations)/repository/github/detail/components/provider-detail-form.tsx index b5ba2479dc01..1463246dd2b3 100644 --- a/ee/tabby-ui/app/(dashboard)/settings/(integrations)/repository/github/detail/components/provider-detail-form.tsx +++ b/ee/tabby-ui/app/(dashboard)/settings/(integrations)/repository/github/detail/components/provider-detail-form.tsx @@ -30,14 +30,14 @@ import { } from '../../components/github-form' const deleteGithubRepositoryProviderMutation = graphql(/* GraphQL */ ` - mutation DeleteGithubRepositoryProvider($id: ID!) { + mutation DeleteRepositoryProvider($id: ID!) { deleteGithubRepositoryProvider(id: $id) } `) const updateGithubRepositoryProviderMutation = graphql(/* GraphQL */ ` - mutation UpdateGithubRepositoryProvider( - $input: UpdateGithubRepositoryProviderInput! + mutation UpdateRepositoryProvider( + $input: UpdateRepositoryProviderInput! ) { updateGithubRepositoryProvider(input: $input) } diff --git a/ee/tabby-ui/app/(dashboard)/settings/(integrations)/repository/github/new/components/new-page.tsx b/ee/tabby-ui/app/(dashboard)/settings/(integrations)/repository/github/new/components/new-page.tsx index dc78637d0aca..83e971d7f74d 100644 --- a/ee/tabby-ui/app/(dashboard)/settings/(integrations)/repository/github/new/components/new-page.tsx +++ b/ee/tabby-ui/app/(dashboard)/settings/(integrations)/repository/github/new/components/new-page.tsx @@ -20,7 +20,7 @@ import { const createGithubRepositoryProvider = graphql(/* GraphQL */ ` mutation CreateGithubRepositoryProvider( - $input: CreateGithubRepositoryProviderInput! + $input: CreateRepositoryProviderInput! ) { createGithubRepositoryProvider(input: $input) }