mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-30 11:35:22 +02:00
refactor: cleanup git provider router
This commit is contained in:
@@ -79,7 +79,7 @@ export const SaveGithubProvider = ({ applicationId }: Props) => {
|
||||
const githubId = form.watch("githubId");
|
||||
|
||||
const { data: repositories, isLoading: isLoadingRepositories } =
|
||||
api.gitProvider.getRepositories.useQuery({
|
||||
api.gitProvider.getGithubRepositories.useQuery({
|
||||
githubId,
|
||||
});
|
||||
|
||||
@@ -87,7 +87,7 @@ export const SaveGithubProvider = ({ applicationId }: Props) => {
|
||||
data: branches,
|
||||
fetchStatus,
|
||||
status,
|
||||
} = api.gitProvider.getBranches.useQuery(
|
||||
} = api.gitProvider.getGithubBranches.useQuery(
|
||||
{
|
||||
owner: repository?.owner,
|
||||
repo: repository?.repo,
|
||||
|
||||
Reference in New Issue
Block a user