Skip to content

Commit

Permalink
fixes #20 - #20 (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
mucenica-bogdan authored Sep 12, 2024
1 parent f64e3fb commit fc2167d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/database/seeders/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public static function regionsTranslations(array $regions, String $lang): void

foreach ($regions as $slug => $region) {
$response = CountryRegion::whereTranslation('locale', 'en')
->whereTranslation('name', $slug)
->whereTranslation('slug', $slug)
->first();

if ($response == null) {
Expand Down

0 comments on commit fc2167d

Please sign in to comment.