We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee37a01 commit 5185e7aCopy full SHA for 5185e7a
src/search-manager/data/api.ts
@@ -498,6 +498,7 @@ export async function fetchTagsThatMatchKeyword({
498
/**
499
* Fetch single document by its id
500
*/
501
+/* istanbul ignore next */
502
export async function fetchDocumentById({ client, indexName, id } : {
503
/** The Meilisearch client instance */
504
client: MeiliSearch;
src/search-manager/data/apiHooks.ts
@@ -242,6 +242,7 @@ export const useTagFilterOptions = (args: {
242
return { ...mainQuery, data };
243
};
244
245
246
export const useGetSingleDocument = ({ client, indexName, id }: {
247
client?: MeiliSearch;
248
indexName?: string;
0 commit comments