Skip to content

Commit

Permalink
fix: 'memory access out of bounds'
Browse files Browse the repository at this point in the history
  • Loading branch information
cnblogs-dudu committed Dec 14, 2023
1 parent 2592f13 commit 5b3c486
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auth/oauth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ export namespace Oauth {
}

export function revokeToken(token: string) {
const req = getAuthedOauthReq()
try {
const req = getAuthedOauthReq()
return req.revokeToken(token)
} catch (e) {
void Alert.err(`撤销 Token 失败: ${<string>e}`)
Expand Down

0 comments on commit 5b3c486

Please sign in to comment.