close browser when find bad cookie

This commit is contained in:
geekgeekrun
2026-04-05 15:31:58 +08:00
parent dd76a856e8
commit 60ac324603
4 changed files with 28 additions and 6 deletions

View File

@@ -116,7 +116,7 @@ export default class SqlitePlugin {
)
hooks.userInfoResponse.tapPromise(
"SqlitePlugin",
async (userInfoResponse) => {
async ({ userInfoResponse } = {}) => {
if (!userInfoResponse || userInfoResponse.code !== 0) {
return;
}