Skip to content

Commit 6202cac

Browse files
committed
fix: javascript
1 parent 909738b commit 6202cac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

playground/javascript/node/abtestingV3.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import { abtestingClient } from '@algolia/abtesting';
1+
import { abtestingV3Client } from '@algolia/abtesting';
22
import { ApiError } from '@algolia/client-common';
33

44
const appId = process.env.ALGOLIA_APPLICATION_ID || '**** APP_ID *****';
55
const apiKey = process.env.ALGOLIA_ANALYTICS_KEY || '**** ANALYTICS_API_KEY *****';
66

77
// Init client with appId and apiKey
8-
const client = abtestingClient(appId, apiKey, 'de');
8+
const client = abtestingV3Client(appId, apiKey, 'de');
99

1010
async function testABTesting() {
1111
try {

0 commit comments

Comments
 (0)