Skip to content

Commit

Permalink
fix: missing translation
Browse files Browse the repository at this point in the history
  • Loading branch information
lakuapik authored Aug 8, 2024
1 parent 7947a5d commit f2c5152
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ApiResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ class ApiResponse extends JsonResponse implements ApiResponseContract

public function __construct(string $message = '', string $title = '')
{
$this->title = $title ?: ('api-response::trans.success');
$this->message = $message ?: ('api-response::trans.successful');
$this->title = $title ?: __('api-response::trans.success');
$this->message = $message ?: __('api-response::trans.successful');

parent::__construct();
}
Expand Down

0 comments on commit f2c5152

Please sign in to comment.