Filter the apps by the user id

This commit is contained in:
nicolas.dorier
2019-04-12 14:54:59 +09:00
parent c55f1185e6
commit ae7ad9f667
2 changed files with 9 additions and 5 deletions

View File

@@ -27,7 +27,7 @@ namespace BTCPayServer.Controllers
public async Task<IActionResult> Index()
{
if (_cachedServerSettings.RootAppType == Services.Apps.AppType.Crowdfund)
if (_cachedServerSettings.RootAppType is Services.Apps.AppType.Crowdfund)
{
var serviceProvider = HttpContext.RequestServices;
var controller = (AppsPublicController)serviceProvider.GetService(typeof(AppsPublicController));