Skip to content

Commit

Permalink
fix(api): Return last author for senior author metadata field.
Browse files Browse the repository at this point in the history
  • Loading branch information
nellh committed Jun 15, 2023
1 parent 4225055 commit 7ade145
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const metadata = async (dataset, _, context) => {
datasetId: dataset.id,
datasetName: description.Name,
tasksCompleted: summary.tasks,
seniorAuthor: description.Authors[0],
seniorAuthor: description.Authors[description.Authors.length - 1],
adminUsers,
firstSnapshotCreatedAt,
latestSnapshotCreatedAt: snapshot.created,
Expand Down

0 comments on commit 7ade145

Please sign in to comment.