Skip to content

Commit 4a88416

Browse files
committed
Fix event slug in AllSubEventsSyncAdapter
1 parent c29cc3d commit 4a88416

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libpretixsync/src/main/java/eu/pretix/libpretixsync/sync/AllSubEventsSyncAdapter.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class AllSubEventsSyncAdapter(
7575
active = jsonobj.getBoolean("active"),
7676
date_from = dateFrom,
7777
date_to = dateTo,
78-
event_slug = eventSlug,
78+
event_slug = jsonobj.getString("event"),
7979
json_data = jsonobj.toString(),
8080
server_id = jsonobj.getLong("id"),
8181
)
@@ -96,7 +96,7 @@ class AllSubEventsSyncAdapter(
9696
active = jsonobj.getBoolean("active"),
9797
date_from = dateFrom,
9898
date_to = dateTo,
99-
event_slug = eventSlug,
99+
event_slug = jsonobj.getString("event"),
100100
json_data = jsonobj.toString(),
101101
id = obj.id,
102102
)

0 commit comments

Comments
 (0)