debug: desabilita autenticacao temporaria no /api/miroflow/analyze
This commit is contained in:
parent
35492de95f
commit
4778462c29
|
|
@ -73,9 +73,10 @@ export function registerMiroFlowRoutes(app: Express): void {
|
|||
});
|
||||
|
||||
app.post("/api/miroflow/analyze", async (req: Request, res: Response) => {
|
||||
if (!req.isAuthenticated()) {
|
||||
return res.status(401).json({ error: "Não autenticado" });
|
||||
}
|
||||
// TODO: autenticação
|
||||
// if (!req.isAuthenticated()) {
|
||||
// return res.status(401).json({ error: "Não autenticado" });
|
||||
// }
|
||||
try {
|
||||
const inputBody = {
|
||||
...req.body,
|
||||
|
|
|
|||
Loading…
Reference in New Issue