Skip to content

Commit 6385017

Browse files
BX-68618: Do not serialize genre for requests
1 parent 4b5f7fa commit 6385017

3 files changed

Lines changed: 0 additions & 3 deletions

File tree

‎lib/document_parameters.rb‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ def to_hash
7878
content: @content,
7979
content_uri: @content_uri,
8080
file_path: @file_path,
81-
genre: @genre,
8281
language: @language,
8382
options: @rosette_options,
8483
custom_headers: @custom_headers

‎lib/name_similarity_parameters.rb‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ def load_params
5757
# Returns the new Hash.
5858
def to_hash
5959
{
60-
genre: @genre,
6160
name1: @name1.is_a?(NameParameter) ? @name1.load_param : @name1,
6261
name2: @name2.is_a?(NameParameter) ? @name2.load_param : @name2,
6362
parameters: @parameters

‎lib/name_translation_parameters.rb‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ def load_params
7373
def to_hash
7474
{
7575
entity_type: @entity_type,
76-
genre: @genre,
7776
name: @name,
7877
options: @rosette_options,
7978
source_language_of_origin: @source_language_of_origin,

0 commit comments

Comments
 (0)