Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanopagliari committed Nov 5, 2022
1 parent be5d453 commit bdce9c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export const createAuthorKeyFullName = (creators: CreatorArray) => {
//Adjust the authorKey depending on the number of authors

if (authorKey.length == 1) {
authorKeyFixed = authorKeyReverse[0];
authorKeyFixed = authorKey[0];
}
if (authorKey.length == 2) {
authorKeyFixed = authorKey[0] + " and " + authorKeyReverse[1];
Expand Down

0 comments on commit bdce9c4

Please sign in to comment.