From f32942a236663fdd912336f04addeccd971b207a Mon Sep 17 00:00:00 2001 From: Lior Maman Date: Mon, 6 May 2024 14:39:20 +0000 Subject: [PATCH] fix --- Packs/Gem/Integrations/Gem/Gem.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Packs/Gem/Integrations/Gem/Gem.py b/Packs/Gem/Integrations/Gem/Gem.py index c31f01f4afe6..6de292a26a2f 100644 --- a/Packs/Gem/Integrations/Gem/Gem.py +++ b/Packs/Gem/Integrations/Gem/Gem.py @@ -575,8 +575,8 @@ def init_client(params: dict) -> GemClient: base_url=params['api_endpoint'], verify=True, proxy=params.get('proxy', False), - client_id=demisto.getParam('credentials')['identifier'], # type: ignore - client_secret=demisto.getParam('credentials')['password'] # type: ignore + client_id=demisto.getParam('credentials', {})['identifier'], # type: ignore + client_secret=demisto.getParam('credentials', {})['password'] # type: ignore )