Skip to content

Commit

Permalink
chore: remove no longer needed route for nonexistant method
Browse files Browse the repository at this point in the history
  • Loading branch information
danny-avila committed Jul 28, 2023
1 parent a2b6e9a commit 131cb6c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions api/server/routes/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,6 @@ router.get('/', requireJwtAuth, async function (req, res) {
}
});

router.get('/clear', async function (req, res) {
await Message.resetIndex();
res.send('cleared');
});

router.get('/test', async function (req, res) {
const { q } = req.query;
const messages = (
Expand Down

0 comments on commit 131cb6c

Please sign in to comment.