From 55f70056917fa91bd6d9f61d017f11450406e1c3 Mon Sep 17 00:00:00 2001 From: Hamza Date: Thu, 6 May 2021 17:50:34 -0400 Subject: [PATCH] Fix function documentation generateVerifyEmailToken takes a user object not a string --- src/services/token.service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/token.service.js b/src/services/token.service.js index 455b2814..89dda4f7 100644 --- a/src/services/token.service.js +++ b/src/services/token.service.js @@ -102,7 +102,7 @@ const generateResetPasswordToken = async (email) => { /** * Generate verify email token - * @param {string} email + * @param {User} user * @returns {Promise} */ const generateVerifyEmailToken = async (user) => {