Skip to content

Commit

Permalink
added form_params to generic_request_func
Browse files Browse the repository at this point in the history
  • Loading branch information
merit-maita committed Feb 11, 2025
1 parent bfaf243 commit 52119c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion demisto_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ def generic_request_func(self, path, method, body=None, **kwargs):
all_params.append('content_type')
all_params.append('accept')
all_params.append('response_type')
all_params.append('form_params')

params = locals()
for key, val in six.iteritems(params['kwargs']):
Expand All @@ -290,7 +291,7 @@ def generic_request_func(self, path, method, body=None, **kwargs):

header_params = {}

form_params = []
form_params = params.get('form_params')
local_var_files = {}

body_params = body
Expand Down

0 comments on commit 52119c1

Please sign in to comment.