@@ -601,7 +601,13 @@ func (api *API) postWorkflowRunHandler() Handler {
601601 u := getUser (ctx )
602602
603603 _ , next := tracing .Span (ctx , "project.Load" )
604- p , errP := project .Load (api .mustDB (), api .Cache , key , u , project .LoadOptions .WithVariables , project .LoadOptions .WithFeatures , project .LoadOptions .WithPlatforms )
604+ p , errP := project .Load (api .mustDB (), api .Cache , key , u ,
605+ project .LoadOptions .WithVariables ,
606+ project .LoadOptions .WithFeatures ,
607+ project .LoadOptions .WithPlatforms ,
608+ project .LoadOptions .WithApplicationVariables ,
609+ project .LoadOptions .WithApplicationWithDeploymentStrategies ,
610+ )
605611 next ()
606612 if errP != nil {
607613 return sdk .WrapError (errP , "postWorkflowRunHandler> Cannot load project" )
@@ -649,10 +655,12 @@ func (api *API) postWorkflowRunHandler() Handler {
649655 }
650656 proj , errp := project .Load (api .mustDB (), api .Cache , key , u ,
651657 project .LoadOptions .WithGroups ,
652- project .LoadOptions .WithApplications ,
658+ project .LoadOptions .WithApplicationVariables ,
659+ project .LoadOptions .WithApplicationWithDeploymentStrategies ,
653660 project .LoadOptions .WithEnvironments ,
654661 project .LoadOptions .WithPipelines ,
655662 project .LoadOptions .WithClearKeys ,
663+ project .LoadOptions .WithClearPlatforms ,
656664 )
657665
658666 if errp != nil {
0 commit comments