Skip to content

Commit 4509783

Browse files
meili-bors[bot]bb
andauthored
Merge #1479
1479: Fix multiSearch to allow using host config with path r=bidoubiwa a=bb # Pull Request ## Related issue Fixes #1478 ## What does this PR do? Remove the extra slash in the URL segment for multi-search which prevents the host configuration's path being used. ## PR checklist Please check if your PR fulfills the following requirements: - [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [x] Have you read the contributing guidelines? - [x] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: Benjamin Bock <[email protected]>
2 parents 870f0f5 + 4a5b4ef commit 4509783

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/clients/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ class Client {
220220
queries?: MultiSearchParams,
221221
config?: Partial<Request>
222222
): Promise<MultiSearchResponse<T>> {
223-
const url = `/multi-search`
223+
const url = `multi-search`
224224

225225
return await this.httpRequest.post(url, queries, undefined, config)
226226
}

0 commit comments

Comments
 (0)