Skip to content

Commit e5377f4

Browse files
remove comments
1 parent 6e722e4 commit e5377f4

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

lambdas/supplier-allocator/src/handler/allocate-handler.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,8 @@ function emitSupCampaignClientMetric(
152152
) {
153153
const namespace = "supplier-allocator";
154154
const { campaignId, clientId } = letterEvent.data;
155-
console.log("VLASIS and the campaignId is:", campaignId);
156155
const dimensions: Record<string, string> = {
157-
Supplier: "supplierVlasis",
156+
Supplier: supplier,
158157
ClientId: clientId,
159158
CampaignId: campaignId || "unknown",
160159
};
@@ -222,9 +221,6 @@ export default function createSupplierAllocatorHandler(deps: Deps): SQSHandler {
222221
);
223222

224223
incrementMetric(perAllocationSuccess, supplier, priority);
225-
// increment clientid
226-
// increment campaignid
227-
// emit metric with current supplier, clientId and campaignId
228224
emitSupCampaignClientMetric(
229225
letterEvent,
230226
supplier,

0 commit comments

Comments
 (0)