Skip to content

Commit 90e0e69

Browse files
authored
Merge pull request #224 from rafirr/patch-1
docs: improve docs
2 parents 6ca9dbe + 2eb71c6 commit 90e0e69

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/saveWeight.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Example input options:
99
```javascript
1010
let options = {
1111
value: 200,
12+
unit: AppleHealthKit.Constants.Units.gram, // optional; default pounds
13+
startDate: new Date(2021, 0, 0).toISOString() // optional; default now
1214
}
1315
```
1416

0 commit comments

Comments
 (0)