diff options
author | Puyodead1 <puyodead@proton.me> | 2023-08-06 22:49:38 -0400 |
---|---|---|
committer | Puyodead1 <puyodead@proton.me> | 2023-08-06 22:51:34 -0400 |
commit | 033e2108e732093cbf51b141d6ba52452ce1f836 (patch) | |
tree | e229191e2ee72e11e98337203575d3030de4bb9d /src/api | |
parent | generate openapi (diff) | |
download | server-033e2108e732093cbf51b141d6ba52452ce1f836.tar.xz |
Fix some linting warnings
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/middlewares/Authentication.ts | 2 | ||||
-rw-r--r-- | src/api/routes/auth/reset.ts | 1 | ||||
-rw-r--r-- | src/api/routes/connections/#connection_name/#connection_id/refresh.ts | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/src/api/middlewares/Authentication.ts b/src/api/middlewares/Authentication.ts index 812888a3..9e41b453 100644 --- a/src/api/middlewares/Authentication.ts +++ b/src/api/middlewares/Authentication.ts @@ -16,7 +16,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>. */ -import { checkToken, Config, Rights } from "@spacebar/util"; +import { checkToken, Rights } from "@spacebar/util"; import * as Sentry from "@sentry/node"; import { NextFunction, Request, Response } from "express"; import { HTTPError } from "lambert-server"; diff --git a/src/api/routes/auth/reset.ts b/src/api/routes/auth/reset.ts index cb4f8180..b3ca1e9e 100644 --- a/src/api/routes/auth/reset.ts +++ b/src/api/routes/auth/reset.ts @@ -19,7 +19,6 @@ import { route } from "@spacebar/api"; import { checkToken, - Config, Email, FieldErrors, generateToken, diff --git a/src/api/routes/connections/#connection_name/#connection_id/refresh.ts b/src/api/routes/connections/#connection_name/#connection_id/refresh.ts index 0d432c2b..d44cf314 100644 --- a/src/api/routes/connections/#connection_name/#connection_id/refresh.ts +++ b/src/api/routes/connections/#connection_name/#connection_id/refresh.ts @@ -22,7 +22,7 @@ const router = Router(); router.post("/", route({}), async (req: Request, res: Response) => { // TODO: - const { connection_name, connection_id } = req.params; + // const { connection_name, connection_id } = req.params; res.sendStatus(204); }); |