debug: desabilita autenticacao temporaria no /api/miroflow/analyze

This commit is contained in:
Jonas Pacheco 2026-03-31 15:52:37 -03:00
parent 35492de95f
commit 4778462c29
1 changed files with 4 additions and 3 deletions

View File

@ -73,9 +73,10 @@ export function registerMiroFlowRoutes(app: Express): void {
}); });
app.post("/api/miroflow/analyze", async (req: Request, res: Response) => { app.post("/api/miroflow/analyze", async (req: Request, res: Response) => {
if (!req.isAuthenticated()) { // TODO: autenticação
return res.status(401).json({ error: "Não autenticado" }); // if (!req.isAuthenticated()) {
} // return res.status(401).json({ error: "Não autenticado" });
// }
try { try {
const inputBody = { const inputBody = {
...req.body, ...req.body,