Wrong api path

This commit is contained in:
MasseR committed 2026-06-03 15:36:48 +03:00
1 parent 66018dca53
commit a4b5b3c8a0
1 file changed
+1 -1
+1 -1
View File
@@ -59,7 +59,7 @@ newtype Metrics = Metrics (HashMap Text SampleValue)
data WallabagRoutes mode = WallabagRoutes
{ _getHealth :: mode :- "health" :> Get '[PlainText, JSON] Health,
_getMetrics :: mode :- "metrics" :> Get '[JSON] Metrics,
_getVersion :: mode :- "metrics" :> Get '[JSON] Version
_getVersion :: mode :- "version" :> Get '[JSON] Version
}
deriving (Generic)