From 79bd9647ca7e9559c0df4f1403ea301ef2c6fed8 Mon Sep 17 00:00:00 2001 From: Jamie Maynard <29251905+j-maynard@users.noreply.github.com> Date: Thu, 19 Dec 2024 10:02:36 +0000 Subject: [PATCH] Update src/controllers/publish.ts Co-authored-by: Phil Moorhouse --- src/controllers/publish.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/publish.ts b/src/controllers/publish.ts index 3b188aa..c089f45 100644 --- a/src/controllers/publish.ts +++ b/src/controllers/publish.ts @@ -368,7 +368,7 @@ export const lookupReview = async (req: Request, res: Response, next: NextFuncti await req.swapi.resetDimension(dataset.id, dimension.id); res.redirect( req.buildUrl( - `/publish/${req.params.datasetId}/lookup/${req.params.dimensionId}/`, + `/publish/${dataset.id}/lookup/${dimension.id}/`, req.language ) );