mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2025-08-16 00:28:29 +00:00
Initial attempt
Lacking an end to end test on this code presently.
This commit is contained in:
@ -158,9 +158,9 @@ class BackgroundServiceDelegate extends System.ServiceDelegate {
|
||||
},
|
||||
{
|
||||
:method => Communications.HTTP_REQUEST_METHOD_POST,
|
||||
:headers => {
|
||||
:headers => Settings.augmentHttpHeaders({
|
||||
"Content-Type" => Communications.REQUEST_CONTENT_TYPE_JSON
|
||||
},
|
||||
}),
|
||||
:responseType => Communications.HTTP_RESPONSE_CONTENT_TYPE_JSON
|
||||
},
|
||||
method(:onReturnDoUpdate)
|
||||
@ -244,9 +244,9 @@ class BackgroundServiceDelegate extends System.ServiceDelegate {
|
||||
},
|
||||
{
|
||||
:method => Communications.HTTP_REQUEST_METHOD_POST,
|
||||
:headers => {
|
||||
:headers => Settings.augmentHttpHeaders({
|
||||
"Content-Type" => Communications.REQUEST_CONTENT_TYPE_JSON
|
||||
},
|
||||
}),
|
||||
:responseType => Communications.HTTP_RESPONSE_CONTENT_TYPE_JSON
|
||||
},
|
||||
method(:onReturnDoUpdate)
|
||||
|
Reference in New Issue
Block a user