mirror of
https://github.com/packwiz/packwiz.git
synced 2025-11-19 09:34:31 +01:00
Regression fix: filter Modrinth search results by game versions
This commit is contained in:
@@ -38,9 +38,10 @@ func getProjectIdsViaSearch(query string, versions []string) ([]*modrinthApi.Sea
|
||||
}
|
||||
|
||||
res, err := mrDefaultClient.Projects.Search(&modrinthApi.SearchOptions{
|
||||
Limit: 5,
|
||||
Index: "relevance",
|
||||
Query: query,
|
||||
Limit: 5,
|
||||
Index: "relevance",
|
||||
Facets: [][]string{facets},
|
||||
Query: query,
|
||||
})
|
||||
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user