Sfoglia il codice sorgente

The payload token is hashedToken.

Roy 2 anni fa
parent
commit
85a51de703
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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) {