The payload token is hashedToken.

This commit is contained in:
Roy 2022-11-17 00:31:30 +03:00 committed by GitHub
parent f304c3ad52
commit 85a51de703
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {