Search hotfix (#86)

This commit is contained in:
Geometrically
2020-10-19 19:46:33 -07:00
committed by GitHub
parent c886e7949e
commit 680d6c20ca

View File

@@ -143,7 +143,7 @@ pub async fn search_for_mod(
info: &SearchRequest,
config: &SearchConfig,
) -> Result<SearchResults, SearchError> {
let client = Client::new(&*config.key, &*config.address);
let client = Client::new(&*config.address, &*config.key);
let filters: Cow<_> = match (info.filters.as_deref(), info.version.as_deref()) {
(Some(f), Some(v)) => format!("({}) AND ({})", f, v).into(),