From 381a4f413cd1854cf8dabdc6f33d290bc9c3ca22 Mon Sep 17 00:00:00 2001 From: NRayya <82588017+NRayya@users.noreply.github.com> Date: Thu, 4 Apr 2024 14:36:53 +0200 Subject: [PATCH] Use users cor contributors instead of authors --- app/Models/HasDOI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }