From 7cb38dd3d1aa4db16aad985d2c30067a89d717f8 Mon Sep 17 00:00:00 2001 From: Abhishek P Anil Date: Fri, 13 Dec 2024 17:43:16 +0530 Subject: [PATCH] fix: updated the param --- src/pages/Dashboard/Events/Events.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Dashboard/Events/Events.jsx b/src/pages/Dashboard/Events/Events.jsx index d618727a..6dfd7d53 100644 --- a/src/pages/Dashboard/Events/Events.jsx +++ b/src/pages/Dashboard/Events/Events.jsx @@ -444,7 +444,7 @@ function Events() { let sortQuery = new URLSearchParams(); let usersQuery, publicationQuery, organizerQuery; - userFilter?.forEach((user) => query.append('user', user)); + userFilter?.forEach((user) => query.append('created-by', user)); organizerFilter?.forEach((organizer) => query.append('person-organization', organizer)); filter?.publication?.forEach((state) => query.append('publish-state', state)); if (userFilter?.length > 0) usersQuery = encodeURIComponent(userFilter);