Skip to content

Commit

Permalink
Remove 'get all' endpoint for solar eclipse.
Browse files Browse the repository at this point in the history
  • Loading branch information
Carifio24 committed Mar 11, 2024
1 parent eb15117 commit ea0677c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/stories/solar-eclipse-2024/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ea0677c

Please sign in to comment.