@cryptotaxi247 / CoPilot / commits / 99be8c1a

refactor: Update endpoint in wazuh_manager.py to include leading slash

Taylor committed Sep 8, 2024 at 18:12 UTC 99be8c1a39f92906d10b180449b3e284668a76fc
1 file changed +1 -1
backend/app/customer_provisioning/services/wazuh_manager.py
+1 -1
@@ -47,7 +47,7 @@ async def create_wazuh_group(group_code):
47 dict: The response from the Wazuh API.
48
49 """
50 - endpoint = "groups"
50 + endpoint = "/groups"
51 data = {"group_id": group_code}
52 return await send_wazuh_post_request(endpoint=endpoint, data=data)
53