Skip to content

Commit

Permalink
Update GoogleTranslate.php
Browse files Browse the repository at this point in the history
  • Loading branch information
smorris1709 authored Jun 29, 2020
1 parent 6860737 commit 10ca41c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GoogleTranslate.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function translate($input, $to = null, $format = 'text'): array

$response = $this
->translateClient
->translate($input, $translateTo);
->translate($input, $translateTo, $format);

return [
'source_text' => $input,
Expand Down

0 comments on commit 10ca41c

Please sign in to comment.