From cfcaa4271c37569d105c7f573efb2c6f0ba9498a Mon Sep 17 00:00:00 2001 From: Alex Corey Date: Mon, 19 Jul 2021 16:11:14 -0400 Subject: [PATCH] hits correct api end point to get options data for host groups list --- awx/ui_next/src/api/models/Hosts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui_next/src/api/models/Hosts.js b/awx/ui_next/src/api/models/Hosts.js index ae90bf2826..7c4b9446a0 100644 --- a/awx/ui_next/src/api/models/Hosts.js +++ b/awx/ui_next/src/api/models/Hosts.js @@ -21,7 +21,7 @@ class Hosts extends Base { } readGroupsOptions(id) { - return this.http.options(`${this.baseUrl}${id}/groups/`); + return this.http.options(`${this.baseUrl}${id}/all_groups/`); } associateGroup(id, groupId) {