Skip to content

Commit

Permalink
[harvest] gmuhk default authority role
Browse files Browse the repository at this point in the history
  • Loading branch information
rastislav-chynoransky committed Oct 31, 2023
1 parent b8aeab4 commit 7228eb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Harvest/Importers/GmuhkItemImporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function import(array $row, Progress $result) {
->map->first()
->mapWithKeys(
fn(Authority $authority, $author) => [
$authority->id => ['role' => AuthorityMatcher::parse($author)['alt_name']],
$authority->id => ['role' => AuthorityMatcher::parse($author)['alt_name'] ?? 'autor/author'],
]
);

Expand Down

0 comments on commit 7228eb6

Please sign in to comment.