From 4fe27c6f726f4522987787fe349884cbc22992b4 Mon Sep 17 00:00:00 2001 From: colin constable Date: Sun, 2 Oct 2022 16:18:48 -0700 Subject: [PATCH] feat: updated atKeys for device owner --- dart/iot_sender/bin/set_hro2_dataowners.dart | 2 +- dart/iot_sender/lib/iot_mqtt_listener.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;