more work on testing

This commit is contained in:
Mikayla Dobson
2022-12-17 12:22:03 -06:00
parent a38bc2793f
commit 27e6b4aa1f
14 changed files with 96 additions and 62 deletions

View File

@@ -21,7 +21,7 @@ export const recipeRoute = (app: Express) => {
}
})
router.get('/', async (req, res, next) => {
router.get('/', restrictAccess, async (req, res, next) => {
const { user }: any = req.user;
const { filterby } = req.query;