Merge branch 'devicekeys-fix-request-wrong-keys' into 'master'
[DeviceKeys] outdated by default not null See merge request famedly/famedlysdk!192
This commit is contained in:
commit
806f6449fc
|
@ -20,7 +20,7 @@ class DeviceKeysList {
|
|||
Map<String, dynamic> toJson() {
|
||||
final Map<String, dynamic> data = Map<String, dynamic>();
|
||||
data['user_id'] = this.userId;
|
||||
data['outdated'] = this.outdated;
|
||||
data['outdated'] = this.outdated ?? true;
|
||||
|
||||
Map<String, dynamic> rawDeviceKeys = {};
|
||||
for (final deviceKeyEntry in this.deviceKeys.entries) {
|
||||
|
|
Loading…
Reference in a new issue