Skip to content

Commit

Permalink
make request to the right search page, fixes #4
Browse files Browse the repository at this point in the history
  • Loading branch information
garbas committed May 8, 2020
1 parent 387d70e commit c8bebc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Main.elm
Expand Up @@ -117,10 +117,10 @@ submitQuery old ( new, cmd ) =
( new
, Cmd.batch
[ cmd
, Page.Packages.makeRequest
, makeRequest
new.elasticsearch
(Maybe.withDefault "" newModel.query)
|> Cmd.map PackagesMsg
|> Cmd.map msg
]
)
in
Expand Down
1 change: 0 additions & 1 deletion src/Page/Options.elm
Expand Up @@ -146,7 +146,6 @@ makeRequest :
makeRequest options query =
ElasticSearch.makeRequest
"option_name"
-- TODO: add support for different channels
"nixos-unstable-options"
decodeResultItemSource
options
Expand Down

0 comments on commit c8bebc2

Please sign in to comment.