Skip to content

Commit af4bf96

Browse files
committed
fix: JS playground
1 parent 5879c87 commit af4bf96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

playground/javascript/node/compositionFull.ts

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

44
const appId = process.env.METIS_APPLICATION_ID || '**** APP_ID *****';
55
const apiKey = process.env.METIS_API_KEY || '**** ADMIN_KEY *****';
66

77
// Init client with appId and apiKey
8-
const client = compositionFullClient(appId, apiKey);
8+
const client = compositionClient(appId, apiKey);
99

1010
async function testComposition() {
1111
try {

0 commit comments

Comments
 (0)