feat(default accounts): added in a default account run this will create a bunch of system admins

This commit is contained in:
2025-06-20 11:15:39 -05:00
parent c555172d68
commit b9ff0a4138
2 changed files with 61 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ import createUser from "./routes/userAdmin/createUser.js";
import allUsers from "./routes/userAdmin/getUsers.js";
import updateUser from "./routes/userAdmin/updateUser.js";
import allUserRoles from "./routes/userAdmin/getAllUserRoles.js";
import { massAccountCreation } from "./utils/DefaultAccountCreation.js";
const app = new OpenAPIHono();
@@ -36,4 +37,8 @@ const appRoutes = routes.forEach((route) => {
app.route("/auth", route);
});
// setTimeout(() => {
// massAccountCreation();
// }, 1000 * 60);
export default app;