diff --git a/govtool/metadata-validation/src/utils/parseMetadata.ts b/govtool/metadata-validation/src/utils/parseMetadata.ts index 9f3f13510..579efb1fe 100644 --- a/govtool/metadata-validation/src/utils/parseMetadata.ts +++ b/govtool/metadata-validation/src/utils/parseMetadata.ts @@ -11,7 +11,9 @@ export const parseMetadata = (body: Record) => { Object.keys(body).forEach((key) => { if (key === 'references') { - const parsedReferences = (body[key] as Record[]).map((reference) => parseMetadata(reference)); + const parsedReferences = (body[key] as Record[]).map( + (reference) => parseMetadata(reference), + ); metadata[key] = parsedReferences; } else { metadata[key] = getFieldValue(body, key);