Skip to content

remove repetitive lines#101

Open
alirealasad wants to merge 1 commit into
gothinkster:masterfrom
alirealasad:patch-1
Open

remove repetitive lines#101
alirealasad wants to merge 1 commit into
gothinkster:masterfrom
alirealasad:patch-1

Conversation

@alirealasad

Copy link
Copy Markdown

removed user.token = user.generateJWT(); line from this module because it's doing nothing and user.toAuthJSON() already had a user.generateJWT() inside that function https://github.com/gothinkster/node-express-realworld-example-app/blob/master/models/User.js#L46

 removed user.token = user.generateJWT(); line from this module  because it's doing nothing and user.toAuthJSON() already had a user.generateJWT() inside that function https://github.com/gothinkster/node-express-realworld-example-app/blob/master/models/User.js#L46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant