summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/openapi.js3
-rw-r--r--scripts/schema.js2
2 files changed, 2 insertions, 3 deletions
diff --git a/scripts/openapi.js b/scripts/openapi.js

index a6033cd6..64c7babb 100644 --- a/scripts/openapi.js +++ b/scripts/openapi.js
@@ -18,7 +18,7 @@ process.env.LOG_ROUTES = "false"; -const { Stopwatch } = require("../dist/util/util/Stopwatch"); +const { Stopwatch } = require("../dist/extensions/Stopwatch"); const totalSw = Stopwatch.startNew(); require("module-alias/register"); @@ -26,7 +26,6 @@ const getRouteDescriptions = require("./util/getRouteDescriptions"); const path = require("path"); const fs = require("fs"); const { NO_AUTHORIZATION_ROUTES } = require("../dist/api/middlewares/Authentication"); -require("../dist/extensions"); const { bgRedBright, bgYellow, black, bgYellowBright, blue, white } = require("picocolors"); const openapiPath = path.join(__dirname, "..", "assets", "openapi.json"); diff --git a/scripts/schema.js b/scripts/schema.js
index f8733809..54d9335d 100644 --- a/scripts/schema.js +++ b/scripts/schema.js
@@ -19,7 +19,7 @@ /* Regenerates the `spacebarchat/server/assets/schemas.json` file, used for API/Gateway input validation. */ -const { Stopwatch } = require("../dist/util/util/Stopwatch"); +const { Stopwatch } = require("../dist/extensions/Stopwatch"); const totalSw = Stopwatch.startNew(); const conWarn = console.warn;