From 5c892e99911796fc4f8e6f46384f1fb6caf82f1c Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Tue, 6 Feb 2024 12:51:06 +0100 Subject: [PATCH] ensure metadata file mapping matches team slug --- api.planx.uk/modules/gis/service/digitalLand.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api.planx.uk/modules/gis/service/digitalLand.ts b/api.planx.uk/modules/gis/service/digitalLand.ts index 18caf5e447..57781f3025 100644 --- a/api.planx.uk/modules/gis/service/digitalLand.ts +++ b/api.planx.uk/modules/gis/service/digitalLand.ts @@ -17,9 +17,9 @@ export interface LocalAuthorityMetadata { }; } -/** When a team publishes their granular Article 4 data, add them to this list */ +/** When a team publishes their granular Article 4 data, add them to this list. Key must match team slug */ const localAuthorityMetadata: Record = { - barkingAndDagenham: require("./local_authorities/metadata/barkingAndDagenham"), + "barking-and-dagenham": require("./local_authorities/metadata/barkingAndDagenham"), barnet: require("./local_authorities/metadata/barnet"), birmingham: require("./local_authorities/metadata/birmingham"), buckinghamshire: require("./local_authorities/metadata/buckinghamshire"),