Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Commit

Permalink
make previous names list more readable
Browse files Browse the repository at this point in the history
  • Loading branch information
fisherjacobc committed Dec 5, 2021
1 parent 7a01d64 commit 419dde1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/user/User.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ class User {

this._previousNames = [];
names.data.forEach((prevName) => {
this._previousNames.push(prevName)
this._previousNames.push(prevName.name)
})

return this._previousNames;
Expand Down

0 comments on commit 419dde1

Please sign in to comment.