Skip to content

Commit

Permalink
await flush
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztofzuraw committed Jan 28, 2025
1 parent 8888de6 commit 1ddae64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/segment/src/modules/segment/segment-events-tracker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ export class SegmentEventsTracker {
issuedAt: event.issuedAt,
});

this.segmentClient.flush();
await this.segmentClient.flush();
}
}
2 changes: 1 addition & 1 deletion apps/segment/src/pages/api/webhooks/order-confirmed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const config = {
},
};

const logger = createLogger("orderFullyPaidAsyncWebhook");
const logger = createLogger("orderConfirmedAsyncWebhook");

const configRepository = DynamoConfigRepositoryFactory.create();
const configManager = DynamoAppConfigManager.create(configRepository);
Expand Down

0 comments on commit 1ddae64

Please sign in to comment.