Commit 5adade4a authored by skleest's avatar skleest

minor

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