feat(update all): added a new function to update all servers in a row. easier to walk away
This commit is contained in:
@@ -13,7 +13,8 @@ import { serversCheckPoint } from "./utils/serverData.js";
|
||||
import getServers from "./route/servers/getServers.js";
|
||||
import updateServer from "./route/updates/updateServer.js";
|
||||
import { setPerms } from "./utils/testServerPerms.js";
|
||||
import serviceControl from './route/servers/serverContorl.js'
|
||||
import serviceControl from "./route/servers/serverContorl.js";
|
||||
import { areSubModulesIn } from "./utils/subModuleCheck.js";
|
||||
|
||||
// making sure all modules are in properly
|
||||
setTimeout(async () => {
|
||||
@@ -21,6 +22,7 @@ setTimeout(async () => {
|
||||
await areModulesIn();
|
||||
await serversCheckPoint();
|
||||
await setPerms();
|
||||
await areSubModulesIn();
|
||||
}, 5000);
|
||||
|
||||
const app = new OpenAPIHono();
|
||||
@@ -36,7 +38,7 @@ const routes = [
|
||||
// serverData
|
||||
getServers,
|
||||
updateServer,
|
||||
serviceControl
|
||||
serviceControl,
|
||||
] as const;
|
||||
|
||||
// app.route("/server", modules);
|
||||
|
||||
Reference in New Issue
Block a user