Skip to content

Commit f3e2103

Browse files
authored
Merge pull request #1698 from companieshouse/feat/roe-2732/add-force-flag-to-get-call
feat: add force flag to post-payment fetch call
2 parents 646119d + 837e4a8 commit f3e2103

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controllers/payment.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const get = async (req: Request, res: Response, next: NextFunction): Prom
2323

2424
const { status, state } = req.query;
2525
const isRegistration: boolean = isRegistrationJourney(req);
26-
const appData: ApplicationData = await fetchApplicationData(req, isRegistration);
26+
const appData: ApplicationData = await fetchApplicationData(req, isRegistration, true);
2727
const savedPayment = appData[PaymentKey] || {} as CreatePaymentRequest;
2828

2929
logger.infoRequest(req, `Returned state: ${ state }, saved state: ${savedPayment.state}, with status: ${ status }`);

0 commit comments

Comments
 (0)