Skip to content

Commit 506be50

Browse files
fix typo
1 parent b19a0cd commit 506be50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mindee/http/mindee_api_v2.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def enqueue_form_options(form_data, params)
122122
form_data.push(['confidence', params.confidence.to_s]) unless params.confidence.nil?
123123
form_data.push ['file_alias', params.file_alias] if params.file_alias
124124
form_data.push ['text_context', params.text_context] if params.text_context
125-
form_data.push ['data_schema', params.data_schema.to_s] if params.text_context
125+
form_data.push ['data_schema', params.data_schema.to_s] if params.data_schema
126126
unless params.webhook_ids.nil? || params.webhook_ids.empty?
127127
form_data.push ['webhook_ids', params.webhook_ids.join(',')]
128128
end

0 commit comments

Comments
 (0)