diff --git a/packages/fyllut-backend/src/routers/api/form.js b/packages/fyllut-backend/src/routers/api/form.js index 75063b8a6..e3a25e768 100644 --- a/packages/fyllut-backend/src/routers/api/form.js +++ b/packages/fyllut-backend/src/routers/api/form.js @@ -50,6 +50,7 @@ const getAttachments = (form, t) => { otherDocumentation: component.otherDocumentation, attachmentTitle: t(component.properties.vedleggstittel), attachmentCode: component.properties.vedleggskode, + attachmentForm: component.properties.vedleggskjema, }; }); }; diff --git a/packages/shared-domain/src/form/index.ts b/packages/shared-domain/src/form/index.ts index 3860e740c..f269871f7 100644 --- a/packages/shared-domain/src/form/index.ts +++ b/packages/shared-domain/src/form/index.ts @@ -154,6 +154,7 @@ export interface ComponentProperties { vedleggstittel?: string; vedleggskode?: string; vedleggErValgfritt?: 'ja' | 'nei'; + vedleggskjema?: string; } export interface Attachment {