From d0f6968b14532fd18befdf4fa01cc4ab9096634c Mon Sep 17 00:00:00 2001 From: StringKe Date: Wed, 6 Oct 2021 19:13:20 +0800 Subject: [PATCH] =?UTF-8?q?Social=20=E6=8F=90=E7=A4=BA=E6=96=87=E6=A1=88?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/fujieid/jap/social/SocialStrategy.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jap-social/src/main/java/com/fujieid/jap/social/SocialStrategy.java b/jap-social/src/main/java/com/fujieid/jap/social/SocialStrategy.java index df34588..d9033d9 100644 --- a/jap-social/src/main/java/com/fujieid/jap/social/SocialStrategy.java +++ b/jap-social/src/main/java/com/fujieid/jap/social/SocialStrategy.java @@ -324,10 +324,10 @@ public class SocialStrategy extends AbstractJapStrategy { try { authUserAuthResponse = authRequest.revoke(authToken); } catch (Exception e) { - throw new JapSocialException("Third party refresh access token of `" + source + "` failed. " + e.getMessage()); + throw new JapSocialException("Third party revoke access token of `" + source + "` failed. " + e.getMessage()); } if (!authUserAuthResponse.ok() || ObjectUtil.isNull(authUserAuthResponse.getData())) { - throw new JapUserException("Third party refresh access token of `" + source + "` failed. " + authUserAuthResponse.getMsg()); + throw new JapUserException("Third party revoke access token of `" + source + "` failed. " + authUserAuthResponse.getMsg()); } return JapResponse.success(); -- GitLab