Skip to content

Commit

Permalink
Merge pull request #105 from Carifio24/remove-solar-eclipse-all
Browse files Browse the repository at this point in the history
Remove 'get all' endpoint for solar eclipse.
  • Loading branch information
Carifio24 authored Mar 11, 2024
2 parents eb15117 + ea0677c commit a4697d2
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 a4697d2

Please sign in to comment.