From 61f54065911af5230c43e38a7b4a93ee59b84dc5 Mon Sep 17 00:00:00 2001 From: Arunesh Date: Mon, 11 May 2020 00:17:35 +0200 Subject: [PATCH] Actually fixed the route this time >.> --- src/lib/router.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/router.ts b/src/lib/router.ts index 6268f29..a6d3d9f 100644 --- a/src/lib/router.ts +++ b/src/lib/router.ts @@ -28,7 +28,7 @@ const apiRouter = async (app: FastifyInstance) => { app.get('/get/:key', getKeyRoute) app.post('/set/:key', setKeyRoute) app.delete('/delete/:key', deleteKeyRoute) - app.delete('/bulkDelete/:keys', bulkDeleteKeyRoute) + app.delete('/bulkDelete', bulkDeleteKeyRoute) } app.register(apiRouter, {