Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
natesawant committed Nov 23, 2024
1 parent 014b6f9 commit 23911e1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions backend/src/routes/species.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import express from 'express';
import { isAuthenticated } from '../middlewares/authMiddleware';
import { getById, getByScientificName, searchSpecies } from '../controllers/species/get';
import {
getById,
getByScientificName,
searchSpecies,
} from '../controllers/species/get';

/**
* @swagger
Expand Down Expand Up @@ -48,6 +52,5 @@ export default (router: express.Router) => {
isAuthenticated,
getByScientificName,
);
router.get('/species/search/:searchRequest', isAuthenticated, searchSpecies)
router.get('/species/search/:searchRequest', isAuthenticated, searchSpecies);
};

0 comments on commit 23911e1

Please sign in to comment.