diff --git a/dart/iot_sender/bin/set_hro2_dataowners.dart b/dart/iot_sender/bin/set_hro2_dataowners.dart index 4e71480e..5bfac64f 100644 --- a/dart/iot_sender/bin/set_hro2_dataowners.dart +++ b/dart/iot_sender/bin/set_hro2_dataowners.dart @@ -115,7 +115,7 @@ void main(List args) async { ..namespaceAware = true; var key = AtKey() - ..key = 'device_data_owner.$libraryNamespace' + ..key = 'data_owner_list.$libraryNamespace' ..sharedWith = currentAtsign ..namespace = atClient?.getPreferences()!.namespace ..sharedBy = fromAtsign diff --git a/dart/iot_sender/lib/iot_mqtt_listener.dart b/dart/iot_sender/lib/iot_mqtt_listener.dart index 460f459a..d8c6793b 100644 --- a/dart/iot_sender/lib/iot_mqtt_listener.dart +++ b/dart/iot_sender/lib/iot_mqtt_listener.dart @@ -220,7 +220,7 @@ Future> getDataOwners(AtClient atClient, String ownerAtsign, ..namespaceAware = true; var key = AtKey() - ..key = 'device_data_owner.$libraryNamespace' + ..key = 'data_owner_list.$libraryNamespace' ..namespace = atClient.getPreferences()!.namespace ..sharedBy = ownerAtsign ..metadata = metaData;