Skip to content

Commit 4c3ef75

Browse files
committed
Update hro2_data_service.dart
Removed hard coding
1 parent 0e65285 commit 4c3ef75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flutter/iot_receiver/lib/services/hro2_data_service.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class Hro2DataService {
6464
// ..ttl = 10000
6565
..ttr = -1;
6666
AtKey atKey = AtKey()
67-
..sharedWith = '@demopatient01'
67+
..sharedWith = hrO2Device.deviceAtsign
6868
..metadata = metadata
6969
..key = AppConstants.deviceKey;
7070
var value = jsonEncode(hrO2Device);

0 commit comments

Comments
 (0)