Magista-proto updated, shops list creation changed

This commit is contained in:
echerniak 2021-10-13 10:41:09 +03:00
parent 4b047db9d2
commit c31b3bb4ce
No known key found for this signature in database
GPG Key ID: 7D79B3A9CB749B36
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@
<dependency> <dependency>
<groupId>com.rbkmoney</groupId> <groupId>com.rbkmoney</groupId>
<artifactId>magista-proto</artifactId> <artifactId>magista-proto</artifactId>
<version>1.19-50148e1</version> <version>1.20-f95c236</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.rbkmoney</groupId> <groupId>com.rbkmoney</groupId>

View File

@ -33,7 +33,7 @@ public class AccessService {
List<String> shopIds = vortigonService.getShopIds(partyId, Objects.requireNonNullElse(realm, "live")); List<String> shopIds = vortigonService.getShopIds(partyId, Objects.requireNonNullElse(realm, "live"));
if (!shopIds.isEmpty()) { if (!requestShopIds.isEmpty()) {
shopIds = requestShopIds.stream() shopIds = requestShopIds.stream()
.filter(shopIds::contains) .filter(shopIds::contains)
.collect(Collectors.toList()); .collect(Collectors.toList());