From 1f5830efbf00be965062fd5b9de2118bf78283e8 Mon Sep 17 00:00:00 2001 From: Shane <66246046+shanegrouber@users.noreply.github.com> Date: Mon, 16 Dec 2024 14:11:40 +0200 Subject: [PATCH] chore(workflows-service): rewrite quality control prop (#2897) - Refactor quality control property to always include it (your code changes are easier to track than a breadcrumb trail in a bakery) --- services/workflows-service/prisma/data-migrations | 2 +- .../src/business-report/merchant-monitoring-client.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/workflows-service/prisma/data-migrations b/services/workflows-service/prisma/data-migrations index 1b7508555c..bfc772b0ad 160000 --- a/services/workflows-service/prisma/data-migrations +++ b/services/workflows-service/prisma/data-migrations @@ -1 +1 @@ -Subproject commit 1b7508555c1f354619b11197d94fab8a2252ce29 +Subproject commit bfc772b0ade3ae49465629d6c85ac26aac3796ab diff --git a/services/workflows-service/src/business-report/merchant-monitoring-client.ts b/services/workflows-service/src/business-report/merchant-monitoring-client.ts index 8ea77e3da8..d273f68b62 100644 --- a/services/workflows-service/src/business-report/merchant-monitoring-client.ts +++ b/services/workflows-service/src/business-report/merchant-monitoring-client.ts @@ -108,7 +108,7 @@ export class MerchantMonitoringClient { reportType, workflowVersion, ...(compareToReportId && { compareToReportId }), - ...(withQualityControl && { withQualityControl }), + withQualityControl, merchantId: businessId, callbackUrl: `${env.APP_API_URL}/api/v1/internal/business-reports/hook?businessId=${businessId}`, metadata: {