Skip to content

Commit

Permalink
Add attachmentForm to form request
Browse files Browse the repository at this point in the history
  • Loading branch information
enstulen committed Jan 9, 2024
1 parent abd9b8a commit f9d6244
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/fyllut-backend/src/routers/api/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ const getAttachments = (form, t) => {
otherDocumentation: component.otherDocumentation,
attachmentTitle: t(component.properties.vedleggstittel),
attachmentCode: component.properties.vedleggskode,
attachmentForm: component.properties.vedleggskjema,
};
});
};
Expand Down
1 change: 1 addition & 0 deletions packages/shared-domain/src/form/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ export interface ComponentProperties {
vedleggstittel?: string;
vedleggskode?: string;
vedleggErValgfritt?: 'ja' | 'nei';
vedleggskjema?: string;
}

export interface Attachment {
Expand Down

0 comments on commit f9d6244

Please sign in to comment.