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

juzhiyuan pushed a commit to branch juzhiyuan-patch-1
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git

commit 30a0aef859722c5b3fcb1f96638974eef44c4866
Author: 琚致远 <[email protected]>
AuthorDate: Tue Mar 2 17:56:58 2021 +0800

    fix: use hosts object instead of pure data
---
 web/src/pages/Route/service.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/src/pages/Route/service.ts b/web/src/pages/Route/service.ts
index e14afc2..538c186 100644
--- a/web/src/pages/Route/service.ts
+++ b/web/src/pages/Route/service.ts
@@ -92,7 +92,7 @@ export const fetchUpstreamItem = (sid: string) => {
 export const checkHostWithSSL = (hosts: string[]) =>
   request('/check_ssl_exists', {
     method: 'POST',
-    data: hosts,
+    data: { hosts },
   });
 
 export const fetchLabelList = () =>

Reply via email to