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) => {
|
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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue