浏览代码

The payload token is hashedToken.

Roy 2 年之前
父节点
当前提交
85a51de703
共有 1 个文件被更改,包括 1 次插入1 次删除
  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) {