( deploymentId: string, deploymentData: Partial<Deployment>, )
| 920 | }; |
| 921 | |
| 922 | export const updateDeployment = async ( |
| 923 | deploymentId: string, |
| 924 | deploymentData: Partial<Deployment>, |
| 925 | ) => { |
| 926 | const application = await db |
| 927 | .update(deployments) |
| 928 | .set({ |
| 929 | ...deploymentData, |
| 930 | }) |
| 931 | .where(eq(deployments.deploymentId, deploymentId)) |
| 932 | .returning(); |
| 933 | |
| 934 | return application; |
| 935 | }; |
| 936 | |
| 937 | export const updateDeploymentStatus = async ( |
| 938 | deploymentId: string, |
no outgoing calls
no test coverage detected