correct comment
This commit is contained in:
parent
196d89d9cd
commit
98e177ea75
|
@ -37,7 +37,7 @@ defaultOptions :: WR.Options
|
||||||
defaultOptions = defaults & param "limit" .~ ["50"]
|
defaultOptions = defaults & param "limit" .~ ["50"]
|
||||||
& param "page" .~ ["1"]
|
& param "page" .~ ["1"]
|
||||||
|
|
||||||
-- | Updates the state given a way to request a new movie listing
|
-- | Updates the state following a new movie request
|
||||||
setMovies :: AppS -> IO AppS
|
setMovies :: AppS -> IO AppS
|
||||||
setMovies s = do
|
setMovies s = do
|
||||||
m <- getMovies ((s ^. appReqOpts) & param "page" .~ [T.pack (show (s ^. appPage))])
|
m <- getMovies ((s ^. appReqOpts) & param "page" .~ [T.pack (show (s ^. appPage))])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user