mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-01 09:42:16 +00:00
feat: add new git providers
This commit is contained in:
+2
-2
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user