Skip to content

Commit b1fbe8c

Browse files
committed
fix: problem with query param accidentally renamed
1 parent 9e1abcf commit b1fbe8c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const solrGet = config => path => (query = {}, coreOpt = "") => {
5050
...defaultConfig,
5151
...config, // overrides defalt config
5252
pathname: `solr/${core}/${path}`,
53-
queryWithoutCore
53+
query: queryWithoutCore // DO NOT rename the query parameter!
5454
})
5555

5656
return axios(solrUrl).then(r => r.data)

0 commit comments

Comments
 (0)