From 75e0c20220ae17d3a7f7b0e673be2f4f50035c71 Mon Sep 17 00:00:00 2001 From: pjsier Date: Wed, 2 Oct 2024 20:48:39 -0400 Subject: [PATCH] chore: make 2022 default --- client/src/utils/constants.js | 2 +- server/routes/geojsonSearch.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/utils/constants.js b/client/src/utils/constants.js index 79ec821..283f9f5 100644 --- a/client/src/utils/constants.js +++ b/client/src/utils/constants.js @@ -1 +1 @@ -export const DEFAULT_YEAR = "2021" +export const DEFAULT_YEAR = "2022" diff --git a/server/routes/geojsonSearch.js b/server/routes/geojsonSearch.js index d38288e..62bfabe 100644 --- a/server/routes/geojsonSearch.js +++ b/server/routes/geojsonSearch.js @@ -11,7 +11,7 @@ router.get("/", async (req, res) => { code = null, place = null, coordinates = null, - year = "2021", + year = "2022", } = req.query let pgData, geoJSON, clientData, praxisDataType