diff --git a/README.md b/README.md index 2c4d0a56cf2bb690d331cf70efc03a363ab9a4b1..1fc8555083fba3a29fbcfcde522344c11b70d68a 100644 --- a/README.md +++ b/README.md @@ -380,12 +380,12 @@ the callback function will be called with a `samples` array containing objects w ```javascript // samples is array of objects [ - {value: 74.02, startDate: '2016-06-29T17:55:00.000-0400', endDate: '2016-06-29T17:55:00.000-0400' }, - {value: 74, startDate: '2016-03-12T13:22:00.000-0400', endDate: '2016-03-12T13:22:00.000-0400' }, + {value: 74.02, startDate:'2016-06-29T17:55:00.000-0400', endDate:'2016-06-29T17:55:00.000-0400'}, + {value: 74, startDate:'2016-03-12T13:22:00.000-0400', endDate:'2016-03-12T13:22:00.000-0400'}, ... ] ``` - +##### example usage ```javascript AppleHealthKit.getHeightSamples(options, (err: Object, samples: Array) => { if(this._handleHealthKitError(err, 'getHeightSamples')){