From 7af471cfb8b457d3ce7542986bf390e1ae188d27 Mon Sep 17 00:00:00 2001 From: like Date: Sat, 5 Dec 2020 08:50:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9auth=20token=20del?= =?UTF-8?q?=E6=97=B6=E5=80=99=E7=9A=84=E8=BF=94=E5=9B=9E=E5=80=BC=201.3.5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- auth/index.js | 2 ++ auth/package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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": {