From bb6ed76e130be3304190441247be289af0cca0cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Sat, 17 Jan 2026 12:16:06 -0500 Subject: [PATCH] refactor: shorter params --- src/controllers/authentication.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/authentication.js b/src/controllers/authentication.js index 162bea8ecd..5cd6ee0d24 100644 --- a/src/controllers/authentication.js +++ b/src/controllers/authentication.js @@ -42,7 +42,7 @@ async function registerAndLoginUser(req, res, userData) { } const queue = await user.shouldQueueUser(req.ip); - const result = await plugins.hooks.fire('filter:register.shouldQueue', { req: req, res: res, userData: userData, queue: queue }); + const result = await plugins.hooks.fire('filter:register.shouldQueue', { req, res, userData, queue }); if (result.queue) { return await addToApprovalQueue(req, userData); }