diff options
Diffstat (limited to 'src/api/routes/read-states/ack-bulk.ts')
-rw-r--r-- | src/api/routes/read-states/ack-bulk.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/routes/read-states/ack-bulk.ts b/src/api/routes/read-states/ack-bulk.ts index 2c51893b..bca2001c 100644 --- a/src/api/routes/read-states/ack-bulk.ts +++ b/src/api/routes/read-states/ack-bulk.ts @@ -16,14 +16,14 @@ along with this program. If not, see <https://www.gnu.org/licenses/>. */ -import { Router, Request, Response } from "express"; import { route } from "@spacebar/api"; import { AckBulkSchema, ReadState } from "@spacebar/util"; +import { Request, Response, Router } from "express"; const router = Router(); router.post( "/", - route({ body: "AckBulkSchema" }), + route({ requestBody: "AckBulkSchema" }), async (req: Request, res: Response) => { const body = req.body as AckBulkSchema; |