Skip to content

Commit

Permalink
Cleaning up some bugs:
Browse files Browse the repository at this point in the history
-
  • Loading branch information
diego-maeda committed Apr 13, 2024
1 parent 9057662 commit 2590d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class User extends Authenticatable implements MustVerifyEmail, HasLocalePreferen
*/
public function preferredLocale(): string
{
$language = $this->language()->language;
$language = $this->language->language;

if($language == 'pt-br'){
return 'pt_BR';
Expand Down

0 comments on commit 2590d68

Please sign in to comment.