diff options
author | Puyodead1 <puyodead@proton.me> | 2023-03-24 18:14:47 -0400 |
---|---|---|
committer | Puyodead1 <puyodead@proton.me> | 2023-04-13 15:20:10 -0400 |
commit | 6b3a3b750f3e29b491c51f8199efd64c05176a65 (patch) | |
tree | 2f15670152c3fb99630c648a86dd63e0a0b86b74 /src/api/routes/connections/#connection_name/callback.ts | |
parent | AAA (diff) | |
download | server-6b3a3b750f3e29b491c51f8199efd64c05176a65.tar.xz |
fixing lots of openapi crap
Diffstat (limited to 'src/api/routes/connections/#connection_name/callback.ts')
-rw-r--r-- | src/api/routes/connections/#connection_name/callback.ts | 2 |
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 bc9ba455..ee0db94a 100644 --- a/src/api/routes/connections/#connection_name/callback.ts +++ b/src/api/routes/connections/#connection_name/callback.ts @@ -29,7 +29,7 @@ const router = Router(); router.post( "/", - route({ body: "ConnectionCallbackSchema" }), + route({ requestBody: "ConnectionCallbackSchema" }), async (req: Request, res: Response) => { const { connection_name } = req.params; const connection = ConnectionStore.connections.get(connection_name); |