Update handlers.ts
This commit is contained in:
parent
b4cc0fb0f3
commit
fd15e5182d
1 changed files with 2 additions and 2 deletions
|
|
@ -451,7 +451,7 @@ export async function deployApplication(request: FastifyRequest<DeployApplicatio
|
|||
applicationId: id,
|
||||
sourceBranch: branch,
|
||||
branch: application.branch,
|
||||
pullmergeRequestId: pullmergeRequestId.toString(),
|
||||
pullmergeRequestId: pullmergeRequestId?.toString(),
|
||||
forceRebuild,
|
||||
destinationDockerId: application.destinationDocker?.id,
|
||||
gitSourceId: application.gitSource?.id,
|
||||
|
|
@ -937,4 +937,4 @@ export async function cancelDeployment(request: FastifyRequest<CancelDeployment>
|
|||
} catch ({ status, message }) {
|
||||
return errorHandler({ status, message })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue