From 5a7765c7dc6e0ee5c873625ef76b0ee9c4e12300 Mon Sep 17 00:00:00 2001 From: Puyodead1 Date: Sat, 18 Mar 2023 19:50:38 -0400 Subject: prettier --- src/api/Server.ts | 2 +- src/api/middlewares/Authentication.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/api') diff --git a/src/api/Server.ts b/src/api/Server.ts index dc3b66ef..30f02e57 100644 --- a/src/api/Server.ts +++ b/src/api/Server.ts @@ -26,7 +26,7 @@ import { Sentry, WebAuthn, ConnectionConfig, - ConnectionLoader + ConnectionLoader, } from "@fosscord/util"; import { Request, Response, Router } from "express"; import { Server, ServerOptions } from "lambert-server"; diff --git a/src/api/middlewares/Authentication.ts b/src/api/middlewares/Authentication.ts index 55527984..7f008a39 100644 --- a/src/api/middlewares/Authentication.ts +++ b/src/api/middlewares/Authentication.ts @@ -53,7 +53,7 @@ export const NO_AUTHORIZATION_ROUTES = [ // Asset delivery /\/guilds\/\d+\/widget\.(json|png)/, // Connections - /\/connections\/\w+\/callback/ + /\/connections\/\w+\/callback/, ]; export const API_PREFIX = /^\/api(\/v\d+)?/; -- cgit 1.5.1