From 79dcb8fe499e824875b4d239f0bd5913aff447bf Mon Sep 17 00:00:00 2001 From: Chinedu Olebu Date: Wed, 25 Sep 2024 17:07:11 -0700 Subject: [PATCH] feat(3636): track reasons for choosing cloud provider --- app/app/api/public-cloud/products/download/route.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/app/api/public-cloud/products/download/route.ts b/app/app/api/public-cloud/products/download/route.ts index 658cd8dd8..c79ea1a24 100644 --- a/app/app/api/public-cloud/products/download/route.ts +++ b/app/app/api/public-cloud/products/download/route.ts @@ -1,5 +1,5 @@ import { EventType, ProjectStatus } from '@prisma/client'; -import _join from 'lodash-es/join'; +import { join } from 'lodash-es'; import createApiHandler from '@/core/api-handler'; import { NoContent, CsvResponse } from '@/core/responses'; import { ministryKeyToName } from '@/helpers/product'; @@ -33,7 +33,7 @@ export const POST = createApiHandler({ Description: project.description, Ministry: ministryKeyToName(project.ministry), Provider: project.provider, - 'Reasons for Selecting Cloud Provider': _join(project.providerSelectionReasons, ', '), + 'Reasons for Selecting Cloud Provider': join(project.providerSelectionReasons, ', '), 'Description of Selected Reasons': project.providerSelectionReasonsNote, 'Project Owner Email': project.projectOwner.email, 'Project Owner Name': formatFullName(project.projectOwner),