diff --git a/packages/component-publons/src/routes/publons/helpers.js b/packages/component-publons/src/routes/publons/helpers.js index 09e586e69959c329c53d4bf50e8f24c856f8cb38..06c756695bf9424237275b162e220b7e3da940ea 100644 --- a/packages/component-publons/src/routes/publons/helpers.js +++ b/packages/component-publons/src/routes/publons/helpers.js @@ -13,6 +13,6 @@ module.exports = { name: reviewer.publishingName, profileUrl: reviewer.profileUrl, reviews: reviewer.numVerifiedReviews, - institution: reviewer.recentOrganizations[0].name, + affiliation: reviewer.recentOrganizations[0].name, })), } diff --git a/packages/component-publons/src/tests/publons/helpers.test.js b/packages/component-publons/src/tests/publons/helpers.test.js index 6eba68fdbdae2e9a371f953510fbdc4c4044e2ce..8d94f20cd6402f63385dea569582764b1724dc68 100644 --- a/packages/component-publons/src/tests/publons/helpers.test.js +++ b/packages/component-publons/src/tests/publons/helpers.test.js @@ -45,7 +45,7 @@ describe('Publons helpers', () => { }) expect(reviewers).toHaveLength(2) - expect(reviewers[0]).toHaveProperty('institution') + expect(reviewers[0]).toHaveProperty('affiliation') expect(reviewers[0]).toHaveProperty('reviews') expect(reviewers[0]).toHaveProperty('name') expect(reviewers[0]).toHaveProperty('email')