@brostark/solutions-client 1.1.11 → 1.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/v1/search.js +1 -1
- package/package.json +1 -1
- package/src/api/v1/search.ts +1 -1
package/dist/api/v1/search.js
CHANGED
|
@@ -65,7 +65,7 @@ const generateSearchAPI = (apiUrl, apiKey) => {
|
|
|
65
65
|
*/
|
|
66
66
|
getDocumentById: async (collectionName, documentId) => {
|
|
67
67
|
const response = await (0, httpRequest_1.httpGetRequest)(`${apiUrl}/search/collections/${collectionName}/documents/${documentId}`, apiKey);
|
|
68
|
-
return response
|
|
68
|
+
return response;
|
|
69
69
|
},
|
|
70
70
|
/**
|
|
71
71
|
* Searches for documents in a search collection
|
package/package.json
CHANGED
package/src/api/v1/search.ts
CHANGED
|
@@ -75,7 +75,7 @@ export const generateSearchAPI = (apiUrl: string, apiKey: string) => {
|
|
|
75
75
|
getDocumentById: async (collectionName: string, documentId: string) => {
|
|
76
76
|
const response = await httpGetRequest(`${apiUrl}/search/collections/${collectionName}/documents/${documentId}`, apiKey);
|
|
77
77
|
|
|
78
|
-
return response
|
|
78
|
+
return response;
|
|
79
79
|
},
|
|
80
80
|
|
|
81
81
|
/**
|