Skip to content

Commit

Permalink
Merge pull request #330 from DFE-Digital/feature/default-sponsored-gr…
Browse files Browse the repository at this point in the history
…ant-amounts

Added default to switch statement
  • Loading branch information
dneed-nimble authored Sep 4, 2023
2 parents 0a0c0fc + 16f20de commit c4f4bfa
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,8 @@ public CommandResult Update(ProjectDetails detailsToUpdate)
return grantAmountChanged switch
{
true => reason,
false => null
false => null,
_ => reason
};
}
}

0 comments on commit c4f4bfa

Please sign in to comment.