Update handlers.ts
This commit is contained in:
parent
b4cc0fb0f3
commit
fd15e5182d
@ -451,7 +451,7 @@ export async function deployApplication(request: FastifyRequest<DeployApplicatio
|
|||||||
applicationId: id,
|
applicationId: id,
|
||||||
sourceBranch: branch,
|
sourceBranch: branch,
|
||||||
branch: application.branch,
|
branch: application.branch,
|
||||||
pullmergeRequestId: pullmergeRequestId.toString(),
|
pullmergeRequestId: pullmergeRequestId?.toString(),
|
||||||
forceRebuild,
|
forceRebuild,
|
||||||
destinationDockerId: application.destinationDocker?.id,
|
destinationDockerId: application.destinationDocker?.id,
|
||||||
gitSourceId: application.gitSource?.id,
|
gitSourceId: application.gitSource?.id,
|
||||||
@ -937,4 +937,4 @@ export async function cancelDeployment(request: FastifyRequest<CancelDeployment>
|
|||||||
} catch ({ status, message }) {
|
} catch ({ status, message }) {
|
||||||
return errorHandler({ status, message })
|
return errorHandler({ status, message })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user