Run prettier

This commit is contained in:
TomatoCake
2024-08-24 08:46:04 +02:00
parent 74f20898a3
commit dc81bcf900
3 changed files with 10 additions and 12 deletions

View File

@@ -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);
})
) {