Skip to content

Commit

Permalink
Missing authMiddleware fro createList
Browse files Browse the repository at this point in the history
  • Loading branch information
jfmonsa committed Jun 16, 2024
1 parent b0fcc66 commit fcfade0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/lists.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
import { authMiddleware } from "../middleware/session.js";

// Ruta para crear una lista
router.post("/", createList);
router.post("/", authMiddleware, createList);

// Ruta para obtener una lista por su ID
router.get("/:id", getList);
Expand Down

0 comments on commit fcfade0

Please sign in to comment.