Skip to content

Commit

Permalink
feat: updated atKeys for device owner
Browse files Browse the repository at this point in the history
  • Loading branch information
cconstab committed Oct 2, 2022
1 parent 1fbb38a commit 4fe27c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dart/iot_sender/bin/set_hro2_dataowners.dart
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ void main(List<String> 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
Expand Down
2 changes: 1 addition & 1 deletion dart/iot_sender/lib/iot_mqtt_listener.dart
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ Future<List<HrO2DataOwner>> 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;
Expand Down

0 comments on commit 4fe27c6

Please sign in to comment.