Skip to content

Commit

Permalink
Merge "Remove searchApiUrl / domain from fetchByTitle()"
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkins-bot authored and Gerrit Code Review committed Nov 28, 2022
2 parents e041671 + 6fe03a8 commit a7bd862
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion repo/resources/wikibase.vector.searchClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
}

const vectorSearchClient = {
fetchByTitle: ( q, _domain, limit = 10, _showDescription = true ) => {
fetchByTitle: ( q, limit = 10, _showDescription = true ) => {
return fetchResults( q, limit );
}
};
Expand Down
1 change: 0 additions & 1 deletion repo/tests/jest/wikibase.vector.searchClient.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ describe( 'Vector Search Client', () => {

const apiController = vectorSearchClient.fetchByTitle(
exampleSearchString,
'/w/rest.php', // should be ignored by us
vectorLimit,
true
);
Expand Down

0 comments on commit a7bd862

Please sign in to comment.