Skip to content

Commit

Permalink
Fix function documentation
Browse files Browse the repository at this point in the history
generateVerifyEmailToken takes a user object not a string
  • Loading branch information
Hamza authored May 6, 2021
1 parent 6c88d7f commit 55f7005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/token.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const generateResetPasswordToken = async (email) => {

/**
* Generate verify email token
* @param {string} email
* @param {User} user
* @returns {Promise<string>}
*/
const generateVerifyEmailToken = async (user) => {
Expand Down

0 comments on commit 55f7005

Please sign in to comment.