Merge branch 'soru/fix-push-payload' into 'master'

url in PusherData is optional

See merge request famedly/famedlysdk!383
This commit is contained in:
Christian Pauly 2020-07-14 16:21:24 +00:00
commit c689f6d344

View file

@ -74,7 +74,9 @@ class PusherData {
}); });
PusherData.fromJson(Map<String, dynamic> json) { PusherData.fromJson(Map<String, dynamic> json) {
if (json.containsKey('url')) {
url = Uri.parse(json['url']); url = Uri.parse(json['url']);
}
format = json['format']; format = json['format'];
} }