Skip to content

Commit

Permalink
Merge pull request #1121 from NFDI4Chem/datacite-contributor
Browse files Browse the repository at this point in the history
Use users for contributors instead of authors
  • Loading branch information
CS76 authored Apr 4, 2024
2 parents e6cfed8 + 381a4f4 commit 4f9aa27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Models/HasDOI.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public function getMetadata()
'schemeUri' => 'https://orcid.org',
],
],
'affiliation' => [$author->affiliation ? $author->affiliation : null],
'affiliation' => [$user->affiliation ? $user->affiliation : null],
];
array_push($contributors, $contributor);
}
Expand Down

0 comments on commit 4f9aa27

Please sign in to comment.