Fix double /connect endpoint
This commit is contained in:
parent
bafdaa304d
commit
d686e62996
|
@ -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