diff --git a/artikcloud/apis/devices_api.py b/artikcloud/apis/devices_api.py index 4fbf023..e611963 100644 --- a/artikcloud/apis/devices_api.py +++ b/artikcloud/apis/devices_api.py @@ -863,7 +863,7 @@ def update_device_token_with_http_info(self, device_id, **kwargs): form_params = [] local_var_files = {} - body_params = None + body_params = "{}" # HTTP header `Accept` header_params['Accept'] = self.api_client.\ @@ -873,7 +873,7 @@ def update_device_token_with_http_info(self, device_id, **kwargs): # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['text/plain']) + select_header_content_type(['application/json']) # Authentication setting auth_settings = ['artikcloud_oauth']