File tree Expand file tree Collapse file tree
CallbackHandler/Endpoints Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,12 +15,12 @@ public static IEndpointRouteBuilder MapCallbackEndpoints(this IEndpointRouteBuil
1515 RouteGroupBuilder group = endpoints . MapGroup ( BaseRoute )
1616 . WithTags ( "Callbacks" ) ;
1717
18- group . MapPost ( "/" , Handlers . CallbackHandlers . RecordCallbackAsync )
18+ group . MapPost ( "/" , Handlers . CallbackHandlers . RecordCallback )
1919 . WithName ( "RecordCallback" )
2020 . WithSummary ( "Records a deposit callback" )
2121 . Produces < Result < Guid > > ( StatusCodes . Status200OK ) ;
2222
23- group . MapGet ( "/{callbackId:guid}" , Handlers . CallbackHandlers . GetCallbackAsync )
23+ group . MapGet ( "/{callbackId:guid}" , Handlers . CallbackHandlers . GetCallback )
2424 . WithName ( "GetCallback" )
2525 . WithSummary ( "Gets a callback by ID" )
2626 . Produces < Result < DataTransferObjects . CallbackMessage > > ( StatusCodes . Status200OK ) ;
You can’t perform that action at this time.
0 commit comments