feat: add appName field to GitHub provider settings and update related API and database schema

This commit is contained in:
Mauricio Siu
2025-09-21 02:39:20 -06:00
parent 8fa5fe7f2c
commit 7d682870ff
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,
});
}),
});