Fix double /connect endpoint
This commit is contained in:
parent
bafdaa304d
commit
d686e62996
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ class GarminPlugin @Inject constructor(
|
||||||
registerEndpoint("/get", requestHandler(::onGetBloodGlucose))
|
registerEndpoint("/get", requestHandler(::onGetBloodGlucose))
|
||||||
registerEndpoint("/carbs", requestHandler(::onPostCarbs))
|
registerEndpoint("/carbs", requestHandler(::onPostCarbs))
|
||||||
registerEndpoint("/connect", requestHandler(::onConnectPump))
|
registerEndpoint("/connect", requestHandler(::onConnectPump))
|
||||||
registerEndpoint("/connect", requestHandler(::onSgv))
|
registerEndpoint("/sgv.json", requestHandler(::onSgv))
|
||||||
awaitReady(wait)
|
awaitReady(wait)
|
||||||
}
|
}
|
||||||
} else if (server != null) {
|
} else if (server != null) {
|
||||||
|
|
Loading…
Reference in a new issue