From 2ec045c34a9492bb1d0a583c00323601645e0b14 Mon Sep 17 00:00:00 2001 From: Carlos Matos Date: Fri, 25 Aug 2023 16:28:30 -0400 Subject: [PATCH] fix(cid_info): fix return to include first element --- plugins/modules/cid_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/cid_info.py b/plugins/modules/cid_info.py index 8c7557bc..3790ca7c 100644 --- a/plugins/modules/cid_info.py +++ b/plugins/modules/cid_info.py @@ -88,7 +88,7 @@ def main(): if query_result["status_code"] == 200: result.update( - cid=query_result["body"]["resources"], + cid=query_result["body"]["resources"][0], ) handle_return_errors(module, result, query_result)