1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-19 10:37:01 +00:00

ui: Upgrade to elm/http 2.0.0

This commit is contained in:
James Hillyerd
2018-11-17 18:48:52 -08:00
parent e70900dd1a
commit f2cd3f92da
5 changed files with 36 additions and 33 deletions

View File

@@ -207,8 +207,10 @@ updateRemoteTotal metric value history =
getMetrics : Cmd Msg
getMetrics =
Http.get "/debug/vars" Metrics.decoder
|> Http.send NewMetrics
Http.get
{ url = "/debug/vars"
, expect = Http.expectJson NewMetrics Metrics.decoder
}