Skip to content

Commit

Permalink
fix: added missing await whle deleting
Browse files Browse the repository at this point in the history
  • Loading branch information
nitesh2599 committed Oct 4, 2022
1 parent 487c2bc commit 7effbd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flutter/iot_receiver/lib/services/hro2_data_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class Hro2DataService {
HrO2Receiver rec = HrO2Receiver.fromJson(atKeyString);
if (rec.receiverAtsign == hrO2Receiver.receiverAtsign) {
_logger.info('deleteReceiver deleting ${hrO2Receiver.receiverAtsign}\'s entry');
delete(key);
await delete(key);
}
}
return true;
Expand Down

0 comments on commit 7effbd6

Please sign in to comment.