Skip to content

Commit

Permalink
feat(3636): track reasons for choosing cloud provider
Browse files Browse the repository at this point in the history
  • Loading branch information
golebu2020 committed Sep 26, 2024
1 parent 79dcb8f commit 56637e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/app/api/public-cloud/products/download/route.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { EventType, ProjectStatus } from '@prisma/client';
import { join } from 'lodash-es';
import _join from 'lodash-es/join';
import createApiHandler from '@/core/api-handler';
import { NoContent, CsvResponse } from '@/core/responses';
import { ministryKeyToName } from '@/helpers/product';
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit 56637e2

Please sign in to comment.