diff --git a/src/falconpy/foundry_logscale.py b/src/falconpy/foundry_logscale.py index 5869cd8cc..eb2660ce2 100644 --- a/src/falconpy/foundry_logscale.py +++ b/src/falconpy/foundry_logscale.py @@ -115,6 +115,7 @@ def ingest_data(self: object, for key in data_keys: if kwargs.get(key, None): form_data[key] = kwargs.get(key) + kwargs.pop(key) # Prevent it from converting to a query string param # Create a multipart form payload for our upload file file_tuple = [("file", ("data-upload", data_file, "application/json"))] @@ -163,6 +164,7 @@ def ingest_data_async(self: object, for key in data_keys: if kwargs.get(key, None): form_data[key] = kwargs.get(key) + kwargs.pop(key) # Prevent it from converting to a query string param # Create a multipart form payload for our upload file file_tuple = [("file", ("data-upload", data_file, "application/json"))]