From 08fde9e1d31f09d85a4634ee7da261fd0610244e Mon Sep 17 00:00:00 2001 From: Sebastian-Webster Date: Tue, 10 Oct 2023 18:00:16 +1300 Subject: [PATCH] Change routes --- routes/Temp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/Temp.js b/routes/Temp.js index 77e487b2..15970ba1 100644 --- a/routes/Temp.js +++ b/routes/Temp.js @@ -1064,7 +1064,7 @@ router.post('/pollpostcomment', rateLimiters['/pollpostcomment'], (req, res) => const worker = new Worker(workerPath, { workerData: { functionName: 'pollpostcomment', - functionArgs: [req.tokenData, req.body.comment, req.body.userName, req.body.postId] + functionArgs: [req.tokenData, req.body.comment, req.body.postId] } })