summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorTomatoCake <60300461+DEVTomatoCake@users.noreply.github.com>2024-08-24 08:46:04 +0200
committerTomatoCake <60300461+DEVTomatoCake@users.noreply.github.com>2024-08-24 08:46:04 +0200
commitdc81bcf90042be12e158aaa9aaafd779041957cf (patch)
tree3c1a418fcbe54d725f278b2a62a316edf8553453 /scripts
parentAdd method to NO_AUTHORIZATION_ROUTES (diff)
downloadserver-ts-dc81bcf90042be12e158aaa9aaafd779041957cf.tar.xz
Run prettier
Diffstat (limited to 'scripts')
-rw-r--r--scripts/openapi.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/openapi.js b/scripts/openapi.js

index e6c52a17..ca3e7b21 100644 --- a/scripts/openapi.js +++ b/scripts/openapi.js
@@ -134,7 +134,8 @@ function apiRoutes(missingRoutes) { if ( !NO_AUTHORIZATION_ROUTES.some((x) => { - if (typeof x === "string") return (method.toUpperCase() + " " + path).startsWith(x); + if (typeof x === "string") + return (method.toUpperCase() + " " + path).startsWith(x); return x.test(method.toUpperCase() + " " + path); }) ) {