mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 22:44:29 +01:00
fix bug in permission store selector
This commit is contained in:
@@ -69,7 +69,7 @@ namespace BTCPayServer.Security.GreenField
|
||||
if (context.HasPermission(Permission.Create(requirement.Policy, store.Id)))
|
||||
permissionedStores.Add(store);
|
||||
}
|
||||
_HttpContext.SetStoresData(stores.ToArray());
|
||||
_HttpContext.SetStoresData(permissionedStores.ToArray());
|
||||
success = true;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user