From 4bff5c207d5dca5c04fd88a93285e8ec5525f8dd Mon Sep 17 00:00:00 2001 From: Mauro Takeda Date: Thu, 3 Aug 2023 09:05:02 -0300 Subject: [PATCH] Fix typo --- react/utils/metrics/createQuote.ts | 8 ++++---- react/utils/metrics/useQuote.ts | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/react/utils/metrics/createQuote.ts b/react/utils/metrics/createQuote.ts index 1db55fe..c5ee173 100644 --- a/react/utils/metrics/createQuote.ts +++ b/react/utils/metrics/createQuote.ts @@ -14,8 +14,8 @@ const GRAPHQL_URL = (accountName: string, workspace?: string) => { type CreateQuoteFieldsMetric = { cost_center_id: string cost_center_name: string - buy_org_id: string - buy_org_name: string + buyer_org_id: string + buyer_org_name: string member_id: string member_email: string role: string @@ -95,8 +95,8 @@ const buildCreateQuoteMetric = async ( description: 'Create Quotation Action - UI', account: metricsParam.account, fields: { - buy_org_id: metricsData.organization, - buy_org_name: metricsData.organizationName, + buyer_org_id: metricsData.organization, + buyer_org_name: metricsData.organizationName, cost_center_id: metricsData.costId, cost_center_name: metricsData.costCenterName, member_id: namespaces?.profile?.id?.value, diff --git a/react/utils/metrics/useQuote.ts b/react/utils/metrics/useQuote.ts index 9b89e85..404f4db 100644 --- a/react/utils/metrics/useQuote.ts +++ b/react/utils/metrics/useQuote.ts @@ -10,8 +10,8 @@ type UseQuoteFieldsMetric = { creator_email: string user_email: string cost_center_name: string - buy_org_id: string - buy_org_name: string + buyer_org_id: string + buyer_org_name: string quote_last_update: string } @@ -35,8 +35,8 @@ const buildUseQuoteMetric = ( description: 'Use Quotation Action - UI', account, fields: { - buy_org_id: quoteState.organization, - buy_org_name: quoteState.organizationName, + buyer_org_id: quoteState.organization, + buyer_org_name: quoteState.organizationName, cost_center_name: quoteState.costCenterName, quote_id: quoteState.id, quote_reference_name: quoteState.referenceName,