Skip to content

Commit

Permalink
fix: Allow null for sig from json payload (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
ice-damocles authored Jan 8, 2025
1 parent 4dcd288 commit 895a7b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/model/event_message.dart
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class EventMessage extends RelayMessage {
.map((e) => (e as List<dynamic>).map((e) => e as String).toList())
.toList(),
content: payloadJson['content'] as String,
sig: payloadJson['sig'] as String,
sig: payloadJson['sig'] as String?,
subscriptionId: subscriptionId,
);
}
Expand Down

0 comments on commit 895a7b2

Please sign in to comment.