Skip to content

Commit

Permalink
fix: do not rewrite middlename when incline full name
Browse files Browse the repository at this point in the history
  • Loading branch information
gltronred authored and nodkz committed Nov 13, 2019
1 parent c721570 commit 557b4ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/incline.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export function incline(
}

if (person.middle) {
res.last = inclineMiddlename(person.middle.trim(), declension, res.gender);
res.middle = inclineMiddlename(person.middle.trim(), declension, res.gender);
}

return res;
Expand Down

0 comments on commit 557b4ed

Please sign in to comment.