From ea0677c9656ac23d4989d118d11fd36bcca229e2 Mon Sep 17 00:00:00 2001 From: Carifio24 Date: Mon, 11 Mar 2024 15:32:52 -0400 Subject: [PATCH] Remove 'get all' endpoint for solar eclipse. --- src/stories/solar-eclipse-2024/router.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/stories/solar-eclipse-2024/router.ts b/src/stories/solar-eclipse-2024/router.ts index c64356b..a6c74a3 100644 --- a/src/stories/solar-eclipse-2024/router.ts +++ b/src/stories/solar-eclipse-2024/router.ts @@ -32,11 +32,6 @@ router.put("/data", async (req, res) => { res.json({ response }); }); -router.get("/data", async (_req, res) => { - const responses = await getAllSolarEclipse2024Data(); - res.json({ responses }); -}); - router.get("/data/:uuid", async (req, res) => { const uuid = req.params.uuid as string; const response = await getSolarEclipse2024Data(uuid);