diff --git a/src/services/token.service.js b/src/services/token.service.js index 89dda4f7..e5e8fba2 100644 --- a/src/services/token.service.js +++ b/src/services/token.service.js @@ -11,6 +11,7 @@ const { tokenTypes } = require('../config/tokens'); * Generate token * @param {ObjectId} userId * @param {Moment} expires + * @param {string} type * @param {string} [secret] * @returns {string} */