File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
src/server/plugins/engine Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ export const PLUGIN_PATH = 'node_modules/@defra/forms-engine-plugin'
3333
3434export const STATE_NOT_YET_VALIDATED = '__stateNotYetValidated'
3535export const CURRENT_PAGE_PATH_KEY = '__currentPagePath'
36+ export const MAGIC_LINK_GROUP_ID = '__magicLinkGroupId'
3637
3738export const prepareNunjucksEnvironment = function (
3839 env : Environment ,
Original file line number Diff line number Diff line change @@ -214,8 +214,7 @@ export class SummaryPageController extends QuestionPageController {
214214 request ,
215215 viewModel ,
216216 model ,
217- notificationEmail ,
218- formMetadata
217+ notificationEmail
219218 )
220219 } catch ( error ) {
221220 return this . handleSubmissionError ( error , request , h )
@@ -340,14 +339,13 @@ export class SummaryPageController extends QuestionPageController {
340339
341340export async function submitForm (
342341 context : FormContext ,
343- metadata : FormMetadata ,
342+ formMetadata : FormMetadata ,
344343 request : FormRequestPayload ,
345344 summaryViewModel : SummaryViewModel ,
346345 model : FormModel ,
347- emailAddress : string ,
348- formMetadata : FormMetadata
346+ emailAddress : string
349347) {
350- await finaliseComponents ( request , metadata , context )
348+ await finaliseComponents ( request , formMetadata , context )
351349
352350 const paymentWasCaptured = hasPaymentBeenCaptured ( context )
353351
You can’t perform that action at this time.
0 commit comments