Skip to content

Commit

Permalink
fix #195
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewpbrett committed Sep 29, 2020
1 parent 31bfcea commit cb0ae2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BeeSwift/JSONGoal.swift
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ class JSONGoal {

if datapoints.count == 0 {
let requestId = "\(daystamp)-\(self.minuteStamp())"
let params = ["access_token": CurrentUserManager.sharedManager.accessToken!, "urtext": "\(daystamp.suffix(2)) \(datapointValue) \"Automatically entered via iOS Health app\"", "requestid": requestId]
let params = ["access_token": CurrentUserManager.sharedManager.accessToken!, "urtext": "\(daystamp.suffix(2)) \(datapointValue) \"Automatically entered via Apple Health app\"", "requestid": requestId]
self.postDatapoint(params: params, success: { (responseObject) in
success?()
}, failure: { (error) in
Expand All @@ -649,7 +649,7 @@ class JSONGoal {
let params = [
"access_token": CurrentUserManager.sharedManager.accessToken!,
"value": "\(datapointValue)",
"comment": "Automatically updated via iOS Health app",
"comment": "Automatically updated via Apple Health app",
"requestid": requestId
]
let val = d["value"].double as? Double
Expand Down

0 comments on commit cb0ae2f

Please sign in to comment.