From e6b2a47ac13080a2e4eed63d7e8972c95307d04c Mon Sep 17 00:00:00 2001
From: wenxin <shusheng.wen@outlook.com>
Date: Mon, 5 Dec 2022 23:35:28 +0800
Subject: [PATCH] update delete host

---
 zeus/host_manager/view.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/zeus/host_manager/view.py b/zeus/host_manager/view.py
index ecb046c..ed2de8c 100644
--- a/zeus/host_manager/view.py
+++ b/zeus/host_manager/view.py
@@ -172,7 +172,10 @@ class DeleteHost(BaseResponse):
         Returns:
             dict: response body
         """
-        return jsonify(self.handle_request(DeleteHostSchema, self))
+        return jsonify(self.handle_request_db(DeleteHostSchema,
+                                              HostProxy(),
+                                              'delete_host',
+                                              SESSION))
 
 
 class GetHost(BaseResponse):
-- 
2.37.1.windows.1

