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

healchow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong.git


The following commit(s) were added to refs/heads/master by this push:
     new 9b0a0fb27 [INLONG-7506][Dashboard] Change query method of source and 
sink from get to post (#7507)
9b0a0fb27 is described below

commit 9b0a0fb270ed5d88d9dbbe1aef9f791b86ab8ef5
Author: Lizhen <[email protected]>
AuthorDate: Fri Mar 3 14:37:26 2023 +0800

    [INLONG-7506][Dashboard] Change query method of source and sink from get to 
post (#7507)
---
 inlong-dashboard/src/pages/GroupDetail/DataSources/index.tsx | 3 ++-
 inlong-dashboard/src/pages/GroupDetail/DataStorage/index.tsx | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/inlong-dashboard/src/pages/GroupDetail/DataSources/index.tsx 
b/inlong-dashboard/src/pages/GroupDetail/DataSources/index.tsx
index 1d3fae571..304a140ce 100644
--- a/inlong-dashboard/src/pages/GroupDetail/DataSources/index.tsx
+++ b/inlong-dashboard/src/pages/GroupDetail/DataSources/index.tsx
@@ -66,7 +66,8 @@ const Comp = ({ inlongGroupId, inlongStreamId, readonly }: 
Props, ref) => {
   } = useRequest(
     {
       url: '/source/list',
-      params: {
+      method: 'POST',
+      data: {
         ...options,
         inlongGroupId,
         inlongStreamId,
diff --git a/inlong-dashboard/src/pages/GroupDetail/DataStorage/index.tsx 
b/inlong-dashboard/src/pages/GroupDetail/DataStorage/index.tsx
index 07469d150..2f6193b5a 100644
--- a/inlong-dashboard/src/pages/GroupDetail/DataStorage/index.tsx
+++ b/inlong-dashboard/src/pages/GroupDetail/DataStorage/index.tsx
@@ -66,7 +66,8 @@ const Comp = ({ inlongGroupId, inlongStreamId, readonly }: 
Props, ref) => {
   } = useRequest(
     {
       url: '/sink/list',
-      params: {
+      method: 'POST',
+      data: {
         ...options,
         inlongGroupId,
         inlongStreamId,

Reply via email to