feat: add new git providers

This commit is contained in:
Mauricio Siu
2024-09-01 00:23:45 -06:00
parent 249fe8c7fe
commit c89e558143
4 changed files with 81 additions and 108 deletions
@@ -79,7 +79,7 @@ export const SaveGithubProvider = ({ applicationId }: Props) => {
const githubProviderId = form.watch("githubProviderId");
const { data: repositories, isLoading: isLoadingRepositories } =
api.admin.getRepositories.useQuery({
api.gitProvider.getRepositories.useQuery({
githubProviderId,
});
@@ -87,7 +87,7 @@ export const SaveGithubProvider = ({ applicationId }: Props) => {
data: branches,
fetchStatus,
status,
} = api.admin.getBranches.useQuery(
} = api.gitProvider.getBranches.useQuery(
{
owner: repository?.owner,
repo: repository?.repo,