Make hub discovery public
All checks were successful
Build and Deploy / build-push-deploy (push) Successful in 3m6s

This commit is contained in:
2026-06-14 22:48:53 +02:00
parent 2e450e3a2d
commit 5c13de1b8f
7 changed files with 100 additions and 20 deletions

View File

@@ -27,7 +27,6 @@ instance Controller ApiV2HubsController where
listHubs :: (?context :: ControllerContext, ?modelContext :: ModelContext, ?respond :: Respond, ?request :: Request) => IO ()
listHubs = do
_consumer <- requireApiConsumer
(page, perPage) <- getPageParams
let pageOffset = (page - 1) * perPage
total <- query @Hub |> fetchCount