refactor: simplify StepEngine action logic and add public link display after onboarding completion

This commit is contained in:
2026-07-28 19:14:34 -03:00
parent f39ba44f59
commit 0a285776c7
2 changed files with 44 additions and 25 deletions
-7
View File
@@ -46,13 +46,6 @@ app.use(
app.use(json());
app.use((req, _res, next) => {
if (req.path === '/companies/create') {
require('fs').writeFileSync('request_log.json', JSON.stringify({ body: req.body, headers: req.headers }, null, 2));
}
next();
});
RegisterRoutes(app);
app.use(function errorHandler(