This is an automated email from the ASF dual-hosted git repository. robin0716 pushed a commit to branch test in repository https://gitbox.apache.org/repos/asf/incubator-answer.git
commit bfeae75c9817f0442c714c41114ce3edf03805ca Author: shuai <[email protected]> AuthorDate: Wed Sep 25 15:57:09 2024 +0800 fix: Personal homepage interface request error --- ui/src/services/client/personal.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/services/client/personal.ts b/ui/src/services/client/personal.ts index fbf38938..3ccb0d46 100644 --- a/ui/src/services/client/personal.ts +++ b/ui/src/services/client/personal.ts @@ -96,7 +96,7 @@ export const usePersonalListByTabName = (params: ListReq, tabName: string) => { const queryParams = qs.stringify(params, { skipNulls: true }); const { data, error, mutate } = useSWR<ListRes, Error>( - tabName !== 'review' ? `${apiUrl}?${queryParams}` : null, + tabName !== 'overview' ? `${apiUrl}?${queryParams}` : null, request.instance.get, );
