Skip to content

Commit fc463a5

Browse files
refactor: this commit updates syntax to a more modern version without the use of brackets
1 parent cec6c10 commit fc463a5

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Boundaries/Comanda.Payments/Source/Comanda.Payments.WebApi/Controllers/PaymentsController.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@ public async Task<IActionResult> CreateCheckoutSessionAsync(
4848
// if it is not present, a 400 response is returned
4949

5050
if (string.IsNullOrWhiteSpace(credential))
51-
{
5251
return StatusCode(StatusCodes.Status400BadRequest, PaymentErrors.CredentialNotProvided);
53-
}
5452

5553
var result = await dispatcher.DispatchAsync(request, cancellation);
5654

0 commit comments

Comments
 (0)