Skip to content

Commit

Permalink
Remove searchApiUrl / domain from fetchByTitle()
Browse files Browse the repository at this point in the history
Change-Id: I45e536f61e6cba1994702222ee3817dcae3c1fc7
Depends-On: I0d52e407c12b3fbf80cd36ed66c67da4cba9acbd
  • Loading branch information
lucaswerkmeister committed Nov 25, 2022
1 parent 2e74f0a commit 6fe03a8
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 6fe03a8

Please sign in to comment.