fix config

This commit is contained in:
Christien Rioux 2023-07-04 20:16:17 -05:00
parent c16888e214
commit 4b194345ae

View File

@ -875,11 +875,12 @@ class VeilidConfigCapabilities {
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
return { return {
'disable': disable, 'disable': disable.map((p) => p).toList(),
}; };
} }
VeilidConfigCapabilities.fromJson(dynamic json) : disable = json['disable']; VeilidConfigCapabilities.fromJson(dynamic json)
: disable = List<String>.from(json['disable'].map((j) => j));
} }
//////////// ////////////