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 1b00c5c commit b45215aCopy full SHA for b45215a
packages/sdk/shopify-oxygen/example/src/index.ts
@@ -23,7 +23,7 @@ export default {
23
const flagValue = await ldClient.variation(flagKey, context, false);
24
25
// Flush events and close the client
26
- ldClient.flush();
+ await ldClient.flush();
27
ldClient.close();
28
29
return new Response(JSON.stringify({ flagKey, flagValue }), { status: 200 });
0 commit comments