Skip to content

Commit

Permalink
added elvis operator to model for modelname
Browse files Browse the repository at this point in the history
  • Loading branch information
inlguy committed Oct 2, 2023
1 parent 3132fbf commit e7d67eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public IActionResult CreateAssessment([FromQuery] string workflow, [FromQuery] G
}

ICreateAssessmentBusiness assessmentBusiness = (ICreateAssessmentBusiness) _assessmentBusiness;
switch (config.Model.ModelName)
switch (config.Model?.ModelName)
{
case "ACET":
case "ISE":
Expand Down

0 comments on commit e7d67eb

Please sign in to comment.