summary refs log tree commit diff
path: root/src/api/routes/connections/#connection_name/authorize.ts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/api/routes/connections/#connection_name/authorize.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/routes/connections/#connection_name/authorize.ts b/src/api/routes/connections/#connection_name/authorize.ts
index 8e640a69..5ce420cf 100644
--- a/src/api/routes/connections/#connection_name/authorize.ts
+++ b/src/api/routes/connections/#connection_name/authorize.ts
@@ -6,7 +6,7 @@ import { route } from "../../../util";
 const router = Router();
 
 router.get("/", route({}), async (req: Request, res: Response) => {
-	const { connection_id: connection_name } = req.params;
+	const { connection_name } = req.params;
 	const connection = ConnectionStore.connections.get(connection_name);
 	if (!connection)
 		throw FieldErrors({