diff --git a/libpretixsync/src/main/java/eu/pretix/libpretixsync/db/AbstractItem.java b/libpretixsync/src/main/java/eu/pretix/libpretixsync/db/AbstractItem.java index ad03e5dc..f243ebc1 100644 --- a/libpretixsync/src/main/java/eu/pretix/libpretixsync/db/AbstractItem.java +++ b/libpretixsync/src/main/java/eu/pretix/libpretixsync/db/AbstractItem.java @@ -312,7 +312,6 @@ public List getVariations() throws JSONException { v.setDescription(variation.optJSONObject("description")); v.setPosition(variation.getLong("position")); v.setPrice(new BigDecimal(variation.getString("price"))); - v.setListed_price(new BigDecimal(variation.getString("price"))); v.setServer_id(variation.getLong("id")); v.setValue(variation.getJSONObject("value")); v.setAvailable_from(variation.optString("available_from")); diff --git a/libpretixsync/src/main/java/eu/pretix/libpretixsync/models/Item.kt b/libpretixsync/src/main/java/eu/pretix/libpretixsync/models/Item.kt index 04daa635..1dd36001 100644 --- a/libpretixsync/src/main/java/eu/pretix/libpretixsync/models/Item.kt +++ b/libpretixsync/src/main/java/eu/pretix/libpretixsync/models/Item.kt @@ -67,7 +67,6 @@ class Item( v.description = variation.optJSONObject("description") v.position = variation.getLong("position") v.price = BigDecimal(variation.getString("price")) - v.listed_price = BigDecimal(variation.getString("price")) v.server_id = variation.getLong("id") v.value = variation.getJSONObject("value") v.available_from = variation.optString("available_from")