This is an automated email from the ASF dual-hosted git repository.

robin0716 pushed a commit to branch feat/1.4.0/personal
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git

commit 03049d8be02f5d45b3f9c83b2fe70a3870fa1cc0
Author: robin <[email protected]>
AuthorDate: Tue Aug 13 18:25:52 2024 +0800

    refactor: Update query parameter name in badge list API call
---
 ui/src/pages/Admin/Badges/index.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/src/pages/Admin/Badges/index.tsx 
b/ui/src/pages/Admin/Badges/index.tsx
index 6c74f3ce..571f9b83 100644
--- a/ui/src/pages/Admin/Badges/index.tsx
+++ b/ui/src/pages/Admin/Badges/index.tsx
@@ -50,7 +50,7 @@ const Users: FC = () => {
   const { data, isLoading, mutate } = useQueryBadges({
     page: curPage,
     pageSize: PAGE_SIZE,
-    query: curQuery,
+    q: curQuery,
     ...(curFilter === 'all' ? {} : { status: curFilter }),
   });
 

Reply via email to