Skip to content

Commit 06e4050

Browse files
authored
fix(llc): fix leave call throwing exception (#1065)
* fix(llc): fix leave call throwing exception * chore: update CHANGELOG.md * chore: format * Update packages/stream_video/lib/open_api/video/coordinator/model/user_response.dart * chore: fix formatting
1 parent e40e742 commit 06e4050

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

packages/stream_video/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## Upcoming
2+
3+
🐞 Fixed
4+
* Fixed an issue where the leave call operation could fail if the there were some issues in parsing custom data.
5+
16
## 0.10.4
27

38
✅ Added

packages/stream_video/lib/open_api/video/coordinator/model/user_response.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,8 @@ class UserResponse {
243243
.toList(growable: false)
244244
: const [],
245245
createdAt: mapDateTime(json, r'created_at', r'')!,
246-
custom: mapCastOfType<String, Object>(json, r'custom')!,
246+
// MANUAL_EDIT: allow null values
247+
custom: mapCastOfType<String, Object?>(json, r'custom')!,
247248
deactivatedAt: mapDateTime(json, r'deactivated_at', r''),
248249
deletedAt: mapDateTime(json, r'deleted_at', r''),
249250
id: mapValueOfType<String>(json, r'id')!,

0 commit comments

Comments
 (0)