Commit 22a7e987 authored by Greg Wilson's avatar Greg Wilson

update readme

parent 16c58a14
......@@ -96,12 +96,12 @@ var _ = require('lodash');
...
AppleHealthKit.getLatestWeight(null, (err: Object, weight: number) => {
AppleHealthKit.getLatestWeight(null, (err: Object, weight: Object) => {
if(err){
console.log("error getting current weight: ", err);
return;
}
// use weight ...
// use weight.value ...
});
...
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment