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 3228d79 commit 293c0fcCopy full SHA for 293c0fc
playground/javascript/node/recommend.ts
@@ -1,4 +1,4 @@
1
-import recommendClient from '@algolia/recommend';
+import { recommendClient } from '@algolia/recommend';
2
import { ApiError } from '@algolia/client-common';
3
4
const appId = process.env.ALGOLIA_APPLICATION_ID || '**** APP_ID *****';
@@ -7,9 +7,6 @@ const apiKey = process.env.ALGOLIA_SEARCH_KEY || '**** SEARCH_API_KEY *****';
7
const searchIndex = process.env.SEARCH_INDEX || 'test_index';
8
const searchQuery = process.env.SEARCH_QUERY || 'test_query';
9
10
-console.log("######################")
11
-console.log({ recommendClient })
12
-
13
// Init client with appId and apiKey
14
const client = recommendClient(appId, apiKey);
15
0 commit comments