diff --git a/auth/index.js b/auth/index.js index 7dd78b0..f0264d6 100644 --- a/auth/index.js +++ b/auth/index.js @@ -70,6 +70,8 @@ AuthToken.prototype.del = async function (userToken) { if (tokenData) { this.tokenDB.del(userToken); } + + return tokenData; }; // 检查Token是否存在 diff --git a/auth/package.json b/auth/package.json index babadf2..aedca5c 100644 --- a/auth/package.json +++ b/auth/package.json @@ -1,6 +1,6 @@ { "name": "@ehason/auth", - "version": "1.3.4", + "version": "1.3.5", "description": "User auth lib", "main": "index.js", "scripts": {