Skip to content

Commit

Permalink
Merge pull request #38 from atsign-foundation/ErrorChecking
Browse files Browse the repository at this point in the history
feat: updated atKeys for device owner
  • Loading branch information
cconstab authored Oct 2, 2022
2 parents 1fbb38a + 4fe27c6 commit 68be114
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 68be114

Please sign in to comment.