From 0c59ad267503b50891e5fe93adc963f49beb7848 Mon Sep 17 00:00:00 2001 From: Chris Wilkinson Date: Mon, 15 Jul 2024 14:08:58 +0100 Subject: [PATCH] Fix property name Refs e72558ff3c378104067d69767d23cb0261e2a136 --- src/backend/controllers/fullReview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/controllers/fullReview.js b/src/backend/controllers/fullReview.js index 9fe5d99a..0bff258e 100644 --- a/src/backend/controllers/fullReview.js +++ b/src/backend/controllers/fullReview.js @@ -79,7 +79,7 @@ export default function controller( ? ctx.query.include_images.split(',') : undefined, ), - populate: ['authors', 'author.identity', 'comments', 'drafts', 'preprint', 'statements'], + populate: ['authors', 'authors.identity', 'comments', 'drafts', 'preprint', 'statements'], orderBy: { updatedAt: order }, limit: ctx.query.limit, offset: ctx.query.offset,