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

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


The following commit(s) were added to refs/heads/master by this push:
     new ca1c569  fix: use hosts object instead of pure data (#1541)
ca1c569 is described below

commit ca1c56934d9416910b8feeef86eaf052b399f9de
Author: 琚致远 <[email protected]>
AuthorDate: Tue Mar 2 21:08:37 2021 +0800

    fix: use hosts object instead of pure data (#1541)
---
 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