Browse Source

The payload token is hashedToken.

Roy 2 years ago
parent
commit
85a51de703
1 changed files with 1 additions and 1 deletions
  1. 1 1
      models/users.js

+ 1 - 1
models/users.js

@@ -2483,7 +2483,7 @@ if (Meteor.isServer) {
    * @description Only the admin user (the first user) can call the REST API.
    *
    * @param {string} userId the user ID
-   * @param {string} token the user token
+   * @param {string} token the user hashedToken
    * @return_type {message: string}
    */
   JsonRoutes.add('POST', '/api/deletetoken', function (req, res) {