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
The following commit(s) were added to refs/heads/feat/1.4.0/personal by this
push:
new 96ccd870 refactor: Update page_size parameter in badge list API call
96ccd870 is described below
commit 96ccd870742019da952f0e3fc9245140417573e6
Author: robin <[email protected]>
AuthorDate: Wed Aug 14 14:19:18 2024 +0800
refactor: Update page_size parameter 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 f6b8cb0d..448040a4 100644
--- a/ui/src/pages/Admin/Badges/index.tsx
+++ b/ui/src/pages/Admin/Badges/index.tsx
@@ -49,7 +49,7 @@ const Users: FC = () => {
const { data, isLoading, mutate } = useQueryBadges({
page: curPage,
- pageSize: PAGE_SIZE,
+ page_size: PAGE_SIZE,
q: curQuery,
...(curFilter === 'all' ? {} : { status: curFilter }),
});