diff --git a/modrinth/modrinth.go b/modrinth/modrinth.go index 0e310dd..9371823 100644 --- a/modrinth/modrinth.go +++ b/modrinth/modrinth.go @@ -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 {