File tree 2 files changed +11
-11
lines changed
2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -476,13 +476,13 @@ export const promotePackage = async function (
476
476
sourceDeploymentInfo : DeploymentsInstance ,
477
477
destDeploymentInfo : DeploymentsInstance ,
478
478
params : {
479
- appVersion ? : string ,
480
- label ? : string ,
481
- description ?: string ,
482
- promoteUid ?: number ,
483
- rollout ?: number ,
484
- isDisabled ? : boolean
485
- isMandatory ? : boolean
479
+ appVersion : string | null
480
+ label : string | null
481
+ description ?: string
482
+ promoteUid ?: number
483
+ rollout ?: number
484
+ isDisabled : boolean | null
485
+ isMandatory : boolean | null
486
486
}
487
487
) {
488
488
const appVersion = _ . get ( params , 'appVersion' , null ) ;
Original file line number Diff line number Diff line change @@ -382,13 +382,13 @@ router.post('/:appName/deployments/:sourceDeploymentName/promote/:destDeployment
382
382
} ) ,
383
383
body : t . type ( {
384
384
packageInfo : t . type ( {
385
- appVersion : t . optional ( t . string ) ,
386
- label : t . optional ( t . string ) ,
385
+ appVersion : t . nullable ( t . string ) ,
386
+ label : t . nullable ( t . string ) ,
387
387
description : t . optional ( t . string ) ,
388
388
promoteUid : t . optional ( t . number ) ,
389
389
rollout : t . optional ( t . number ) ,
390
- isDisabled : t . optional ( t . boolean ) ,
391
- isMandatory : t . optional ( t . boolean )
390
+ isDisabled : t . nullable ( t . boolean ) ,
391
+ isMandatory : t . nullable ( t . boolean )
392
392
} )
393
393
} )
394
394
} ,
You can’t perform that action at this time.
0 commit comments