diff --git a/pom.xml b/pom.xml index 846a575..98eed81 100644 --- a/pom.xml +++ b/pom.xml @@ -74,7 +74,7 @@ com.rbkmoney magista-proto - 1.19-50148e1 + 1.20-f95c236 com.rbkmoney diff --git a/src/main/java/com/rbkmoney/anapi/v2/security/AccessService.java b/src/main/java/com/rbkmoney/anapi/v2/security/AccessService.java index 354790e..41d2f64 100644 --- a/src/main/java/com/rbkmoney/anapi/v2/security/AccessService.java +++ b/src/main/java/com/rbkmoney/anapi/v2/security/AccessService.java @@ -33,7 +33,7 @@ public class AccessService { List shopIds = vortigonService.getShopIds(partyId, Objects.requireNonNullElse(realm, "live")); - if (!shopIds.isEmpty()) { + if (!requestShopIds.isEmpty()) { shopIds = requestShopIds.stream() .filter(shopIds::contains) .collect(Collectors.toList());