Commit 5adade4a authored by skleest's avatar skleest

minor

parent 0687bc52
...@@ -926,10 +926,7 @@ let options = { ...@@ -926,10 +926,7 @@ let options = {
endDate: (new Date()).toISOString(), // optional; default now endDate: (new Date()).toISOString(), // optional; default now
}; };
AppleHealthKit.saveMindfulSession({ AppleHealthKit.saveMindfulSession(options, (err, res) => {
startDate: startDate,
endDate: endDate
}, (err, res) => {
if (err) return console.log(err) if (err) return console.log(err)
console.log('Mindful session saved') console.log('Mindful session saved')
}); });
......
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