🐛 Fixing a bug.fix hikari cp conflict

This commit is contained in:
萌萌哒Sakura酱 committed 2019-04-06 21:35:30 +08:00
1 parent 2cf5293eb8
commit 92728eaaf8
2 files changed
+6 -3

No files matched your search

@@ -111,9 +111,6 @@ public class PigxTokenEndpoint {
@Inner
@DeleteMapping("/{token}")
public R<Boolean> delToken(@PathVariable("token") String token) {
if (token != null) {
throw new RuntimeException("lalalala");
}
OAuth2AccessToken oAuth2AccessToken = tokenStore.readAccessToken(token);
tokenStore.removeAccessToken(oAuth2AccessToken);
return new R<>();