Merge pull request #2657 from Dokploy/2529-renaming-a-git-provider-wont-update-the-external-link-url

feat: add appName field to GitHub provider settings and update relate…
This commit is contained in:
Mauricio Siu
2025-09-21 02:41:11 -06:00
committed by GitHub
3 changed files with 28 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ import {
getGithubBranches,
getGithubRepositories,
haveGithubRequirements,
updateGithub,
updateGitProvider,
} from "@dokploy/server";
import { TRPCError } from "@trpc/server";
@@ -134,5 +135,9 @@ export const githubRouter = createTRPCRouter({
name: input.name,
organizationId: ctx.session.activeOrganizationId,
});
await updateGithub(input.githubId, {
...input,
});
}),
});