Skip to content

Commit 4206581

Browse files
author
nicol
committed
pom updates
1 parent 620e278 commit 4206581

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@
195195
<dependency>
196196
<groupId>com.github.nicho92</groupId>
197197
<artifactId>cardnexus-api-java</artifactId>
198-
<version>1.4.19</version>
198+
<version>1.4.20</version>
199199
</dependency>
200200
<dependency>
201201
<groupId>com.github.nicho92</groupId>

src/main/java/org/magic/api/externalshop/impl/CardNexusExternalShop.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
import org.api.cardnexus.model.InventoryLine;
1414
import org.api.cardnexus.model.SealedProduct;
1515
import org.api.cardnexus.model.enums.EnumFinishes;
16-
import org.api.cardnexus.model.enums.EnumProductType;
1716
import org.api.cardnexus.model.enums.EnumSealedType;
1817
import org.api.cardnexus.model.requests.InventoryLinesRequest;
1918
import org.api.cardnexus.model.requests.SearchInventoryRequest;
@@ -160,8 +159,10 @@ public MTGStockItem getStockById(EnumItems typeStock, String id) throws IOExcept
160159
@Override
161160
protected void saveOrUpdateStock(List<MTGStockItem> items) throws IOException {
162161

162+
163+
164+
163165
items.forEach(item->{
164-
165166
var listId = item.getTiersAppIds(getName());
166167
var req = UpdateInventoryRequest.create()
167168
.setQuantity(item.getQte())

0 commit comments

Comments
 (0)