From af7d4f5163d9f214d4a9c838fc2523bf39eca1ee Mon Sep 17 00:00:00 2001 From: Greg Wilson Date: Thu, 30 Jun 2016 20:51:49 -0400 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2c4d0a5..1fc8555 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')){ -- 2.26.2