Browse Source

The payload token is hashedToken.

Roy 2 năm trước cách đây
mục cha
commit
85a51de703
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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.
    * @description Only the admin user (the first user) can call the REST API.
    *
    *
    * @param {string} userId the user ID
    * @param {string} userId the user ID
-   * @param {string} token the user token
+   * @param {string} token the user hashedToken
    * @return_type {message: string}
    * @return_type {message: string}
    */
    */
   JsonRoutes.add('POST', '/api/deletetoken', function (req, res) {
   JsonRoutes.add('POST', '/api/deletetoken', function (req, res) {