diff --git a/app/Models/HasDOI.php b/app/Models/HasDOI.php index aa29cb47..1be953c6 100644 --- a/app/Models/HasDOI.php +++ b/app/Models/HasDOI.php @@ -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); }