( gitlabId: string, input: Partial<Gitlab>, )
| 64 | }; |
| 65 | |
| 66 | export const updateGitlab = async ( |
| 67 | gitlabId: string, |
| 68 | input: Partial<Gitlab>, |
| 69 | ) => { |
| 70 | return await db |
| 71 | .update(gitlab) |
| 72 | .set({ |
| 73 | ...input, |
| 74 | }) |
| 75 | .where(eq(gitlab.gitlabId, gitlabId)) |
| 76 | .returning() |
| 77 | .then((response) => response[0]); |
| 78 | }; |
no outgoing calls
no test coverage detected