We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95b72e0 commit 442f746Copy full SHA for 442f746
1 file changed
Applications/Backend/Source/HttpsRichardy.Federation.WebApi/Controllers/ClientsController.cs
@@ -30,9 +30,6 @@ public async Task<IActionResult> CreateClientAsync([FromBody] ClientCreationSche
30
{
31
var result = await dispatcher.DispatchAsync(request, cancellation);
32
33
- // we know the switch here is not strictly necessary since we only handle the success case,
34
- // but we keep it for consistency with the rest of the codebase and to follow established patterns.
35
-
36
return result switch
37
38
{ IsSuccess: true } when result.Data is not null =>
0 commit comments