Skip to content

Commit b45215a

Browse files
committed
chore: addressing pr comment
1 parent 1b00c5c commit b45215a

File tree

1 file changed

+1
-1
lines changed
  • packages/sdk/shopify-oxygen/example/src

1 file changed

+1
-1
lines changed

packages/sdk/shopify-oxygen/example/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default {
2323
const flagValue = await ldClient.variation(flagKey, context, false);
2424

2525
// Flush events and close the client
26-
ldClient.flush();
26+
await ldClient.flush();
2727
ldClient.close();
2828

2929
return new Response(JSON.stringify({ flagKey, flagValue }), { status: 200 });

0 commit comments

Comments
 (0)