Skip to content

Commit 98a6363

Browse files
committed
Send correct pakrevd value to sendinn
1 parent 8219e21 commit 98a6363

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/fyllut-backend/src/logger.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const correlationIdFormat = format((info) => {
77
});
88

99
export const logger = createLogger({
10-
level: process.env.FYLLUT_BACKEND_LOGLEVEL || 'warning',
10+
level: process.env.FYLLUT_BACKEND_LOGLEVEL || (process.env.NODE_ENV === 'test' ? 'warning' : 'info'),
1111
format: format.combine(correlationIdFormat(), format.json()),
1212
transports: [new transports.Console()],
1313
});

packages/shared-components/src/util/attachment/attachmentsUtil.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const getRelevantAttachments = (form: NavFormType, submissionData: SubmissionDat
2424
tittel: comp.properties.vedleggstittel,
2525
label: comp.label,
2626
beskrivelse: comp.description,
27-
pakrevd: false,
27+
pakrevd: true,
2828
propertyNavn: comp.key,
2929
vedleggskjema: comp.properties.vedleggskjema,
3030
/* TODO: We should not use the native 'id' to identify the attachment, because it may change when the component changes.

0 commit comments

Comments
 (0)