Create Store redirect to store settings

This commit is contained in:
nicolas.dorier
2018-07-05 21:05:13 +09:00
parent 25dbf6445f
commit 7210eebeca

View File

@@ -121,7 +121,10 @@ namespace BTCPayServer.Controllers
var store = await _Repo.CreateStore(GetUserId(), vm.Name);
CreatedStoreId = store.Id;
StatusMessage = "Store successfully created";
return RedirectToAction(nameof(ListStores));
return RedirectToAction(nameof(StoresController.UpdateStore), "Stores", new
{
storeId = store.Id
});
}
private static async Task<string> GetBalanceString((BTCPayWallet Wallet, DerivationStrategyBase DerivationStrategy) _)