From a5b8886520c71807d36917e6f9d90deed623acc5 Mon Sep 17 00:00:00 2001 From: Roland Sadowski Date: Fri, 4 Oct 2024 11:31:27 +0100 Subject: [PATCH] fix typos in JSDoc --- src/middleware/overview.middleware.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/middleware/overview.middleware.js b/src/middleware/overview.middleware.js index 10bb11d2..55f738b8 100644 --- a/src/middleware/overview.middleware.js +++ b/src/middleware/overview.middleware.js @@ -56,7 +56,7 @@ const fetchEntityCounts = async (req, res, next) => { const statusOrdering = new Map(['Live', 'Needs fixing', 'Error', 'Not submitted'].map((status, i) => [status, i])) /** - * The overview data can contain multiple rows per dataset + * The overview data can contain multiple rows per dataset, * and we want a collection of with one item per dataset, * because that's how we display it on the page. * @@ -94,7 +94,7 @@ export function aggregateOverviewData (lpaOverview) { } /** - * Calculates overal "health" of the datasets (not)provided by an organisation. + * Calculates overall "health" of the datasets (not)provided by an organisation. * * @param {[number, number, number]} accumulator * @param {{ endpoint?: string, status: string }} dataset