refactor: cleanup git provider router

This commit is contained in:
Mauricio Siu
2024-09-01 19:47:21 -06:00
parent 32ebd9b3b9
commit d261fd4efe
11 changed files with 3734 additions and 89 deletions

View File

@@ -106,7 +106,7 @@ export const createBitbucket = async (
});
};
export const removeGithub = async (gitProviderId: string) => {
export const removeGitProvider = async (gitProviderId: string) => {
const result = await db
.delete(gitProvider)
.where(eq(gitProvider.gitProviderId, gitProviderId))