Skip to content

Commit c2b8367

Browse files
committed
Add missing listed_price to item variation
1 parent 0cafad2 commit c2b8367

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libpretixsync/src/main/java/eu/pretix/libpretixsync/db/AbstractItem.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ public List<ItemVariation> getVariations() throws JSONException {
312312
v.setDescription(variation.optJSONObject("description"));
313313
v.setPosition(variation.getLong("position"));
314314
v.setPrice(new BigDecimal(variation.getString("price")));
315+
v.setListed_price(new BigDecimal(variation.getString("price")));
315316
v.setServer_id(variation.getLong("id"));
316317
v.setValue(variation.getJSONObject("value"));
317318
v.setAvailable_from(variation.optString("available_from"));

0 commit comments

Comments
 (0)