Skip to content

Commit c661425

Browse files
Merge pull request #256 from TransactionProcessing/task/#254_remove_empty_statement
Clean up unused usings and minor formatting in endpoints
2 parents 870d434 + a763872 commit c661425

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

CallbackHandler/Endpoints/CallbackEndpoints.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
using Microsoft.AspNetCore.Builder;
33
using Microsoft.AspNetCore.Http;
44
using Microsoft.AspNetCore.Routing;
5-
using SimpleResults;
6-
using System;
75
using Shared.Extensions;
86
using Shared.Middleware;
97

@@ -21,7 +19,7 @@ public static IEndpointRouteBuilder MapCallbackEndpoints(this IEndpointRouteBuil
2119
group.MapPost("/", Handlers.CallbackHandlers.RecordCallback)
2220
.WithName("RecordCallback")
2321
.WithSummary("Records a deposit callback")
24-
.WithStandardProduces<CallbackResponse, ErrorResponse>(); ;
22+
.WithStandardProduces<CallbackResponse, ErrorResponse>();
2523

2624
group.MapGet("/{callbackId:guid}", Handlers.CallbackHandlers.GetCallback)
2725
.WithName("GetCallback")

0 commit comments

Comments
 (0)