Add missing HttpPost attribute
MODIFY
WalletWasabi.Backend/Controllers/WabiSabiController.cs
WalletWasabi.Backend/Controllers/WabiSabiController.cs
@@ -18,6 +18,7 @@ namespace WalletWasabi.Backend.Controllers
this.handler = handler;
}
+ [HttpPost("connection-confirmation")]
public Task<ConnectionConfirmationResponse> ConfirmConnectionAsync(ConnectionConfirmationRequest request, CancellationToken cancellableToken)
{
return handler.ConfirmConnectionAsync(request, cancellableToken);

MODIFY
WalletWasabi.Backend/Startup.cs
WalletWasabi.Backend/Startup.cs
@@ -72,14 +72,13 @@ namespace WalletWasabi.Backend
services.AddSingleton<IExchangeRateProvider>(new ExchangeRateProvider());
services.AddSingleton(new Global(Configuration["datadir"]));
- services.AddStartupTask<InitConfigStartupTask>();
-
services.AddSingleton<IArenaRequestHandler>(serviceProvider =>
{
var global = serviceProvider.GetRequiredService<Global>();
var coordinator = global.HostedServices.Get<WabiSabiCoordinator>();
return coordinator.Postman;
});
+ services.AddStartupTask<InitConfigStartupTask>();
services.AddResponseCompression();
}

Add missing HttpPost attribute