Make hub discovery public
This commit is contained in:
parent
2e450e3a2d
commit
5c13de1b8f
7 changed files with 100 additions and 20 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue