Procházet zdrojové kódy

The payload token is hashedToken.

Roy před 2 roky
rodič
revize
85a51de703
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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) {