Added a transfer funds handler using a-frame and wolverine.
This commit is contained in:
1 parent
9de9777926
commit
0de38ef2df
7 files changed
+105
-25
No files matched your search
@@ -53,4 +53,10 @@ app.MapPost("/accounts/apply-fee", async (ApplyFeeCommand cmd, IMessageBus bus)
|
||||
return Results.Accepted();
|
||||
});
|
||||
|
||||
app.MapPost("/accounts/transfer", async (TransferFundsCommand cmd, IMessageBus bus) =>
|
||||
{
|
||||
await bus.InvokeAsync(cmd);
|
||||
return Results.Accepted();
|
||||
});
|
||||
|
||||
app.Run();
|
||||
Reference in new issue
Block a user