Skip to content

Commit

Permalink
feat
Browse files Browse the repository at this point in the history
  • Loading branch information
Fábio Henrique authored and Fábio Henrique committed Nov 24, 2024
1 parent a13a7be commit a4d8069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/createUnitRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const createUnitRouter = express.Router();

// Rota protegida para criar unidades dentro da empresa do administrador
createUnitRouter.post(
'/create-unit',
'/units',
authenticate,
authorize(['ADMIN']),
createUnitInCompany
Expand Down

0 comments on commit a4d8069

Please sign in to comment.