From c8b274c62463b7129126c161e155e9a6cb294d9a Mon Sep 17 00:00:00 2001 From: The one with the braid Date: Fri, 8 Sep 2023 09:07:45 +0200 Subject: [PATCH] fix: invalid JSON parser for eventTicket Signed-off-by: The one with the braid --- .idea/libraries/Dart_Packages.xml | 8 ++++---- lib/src/models/pass.dart | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.idea/libraries/Dart_Packages.xml b/.idea/libraries/Dart_Packages.xml index 52ceeb7..a2c1ccc 100644 --- a/.idea/libraries/Dart_Packages.xml +++ b/.idea/libraries/Dart_Packages.xml @@ -19,7 +19,7 @@ - @@ -369,7 +369,7 @@ - @@ -385,7 +385,7 @@ - + @@ -435,7 +435,7 @@ - + diff --git a/lib/src/models/pass.dart b/lib/src/models/pass.dart index ef0d9ae..6e94f82 100644 --- a/lib/src/models/pass.dart +++ b/lib/src/models/pass.dart @@ -148,7 +148,7 @@ class PassMetadata { eventTicket: json['eventTicket'] == null ? null : PassStructureDictionary.fromJson( - (json['coupon'] as Map).cast(), + (json['eventTicket'] as Map).cast(), ), generic: json['generic'] == null ? null