Skip to content

Commit

Permalink
Merge branch 'staging' of github.com:wri/fw_core into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
edward3sc committed Feb 19, 2025
2 parents 50fdde7 + 0c7820d commit f5f5794
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/answers/answers.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,13 @@ export class AnswersController {
const userPosition = fields.userPosition ?? [];

this.logger.log('CREATING REPORT');
this.logger.log('TEMPLATE', template.id, template.questions?.map(question => question.name))
this.logger.log('FIELDS', fields)
this.logger.log('FILE ARRAY', fileArray?.map(file => file.fieldname))
this.logger.log(
'TEMPLATE',
template.id,
template.questions?.map((question) => question.name),
);

// This groups the file uploads by fieldname
const fileGroups = fileArray?.reduce((acc, file) => {
Expand Down

0 comments on commit f5f5794

Please sign in to comment.