Fix warnings

This commit is contained in:
nicolas.dorier
2021-12-27 13:46:31 +09:00
parent 259f0b5aad
commit c0e9f91bdc
15 changed files with 115 additions and 130 deletions

View File

@@ -732,9 +732,9 @@ namespace BTCPayServer.Controllers.GreenField
return GetFromActionResult(await _storesController.GetStores());
}
public override async Task<StoreData> GetStore(string storeId, CancellationToken token = default)
public override Task<StoreData> GetStore(string storeId, CancellationToken token = default)
{
return GetFromActionResult<StoreData>(_storesController.GetStore(storeId));
return Task.FromResult(GetFromActionResult<StoreData>(_storesController.GetStore(storeId)));
}
public override async Task RemoveStore(string storeId, CancellationToken token = default)