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 56637e2 commit dcb1a18
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/app/api/public-cloud/products/download/route.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { EventType, ProjectStatus } from '@prisma/client';
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 +32,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': project.providerSelectionReasons.join(', '),
'Description of Selected Reasons': project.providerSelectionReasonsNote,
'Project Owner Email': project.projectOwner.email,
'Project Owner Name': formatFullName(project.projectOwner),
Expand Down

0 comments on commit dcb1a18

Please sign in to comment.