summary refs log tree commit diff
path: root/src/api/routes/connections/#connection_name/callback.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/routes/connections/#connection_name/callback.ts')
-rw-r--r--src/api/routes/connections/#connection_name/callback.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/routes/connections/#connection_name/callback.ts b/src/api/routes/connections/#connection_name/callback.ts
index f158a037..80a5b784 100644
--- a/src/api/routes/connections/#connection_name/callback.ts
+++ b/src/api/routes/connections/#connection_name/callback.ts
@@ -13,7 +13,7 @@ router.post(
 	"/",
 	route({ body: "ConnectionCallbackSchema" }),
 	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({