Skip to content

Commit

Permalink
Merge pull request #18 from smorris1709/patch-1
Browse files Browse the repository at this point in the history
Update GoogleTranslate.php
  • Loading branch information
introwit committed Jun 29, 2020
2 parents 6860737 + 10ca41c commit 1fabca5
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 1fabca5

Please sign in to comment.