( githubId: string, input: Partial<Github>, )
| 65 | }; |
| 66 | |
| 67 | export const updateGithub = async ( |
| 68 | githubId: string, |
| 69 | input: Partial<Github>, |
| 70 | ) => { |
| 71 | return await db |
| 72 | .update(github) |
| 73 | .set({ |
| 74 | ...input, |
| 75 | }) |
| 76 | .where(eq(github.githubId, githubId)) |
| 77 | .returning() |
| 78 | .then((response) => response[0]); |
| 79 | }; |
| 80 | |
| 81 | export const getIssueComment = ( |
| 82 | appName: string, |