Skip to content

Commit ef38b10

Browse files
oops
1 parent a9cfa56 commit ef38b10

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CallbackHandler/Endpoints/CallbackEndpoints.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)