2
0
mirror of https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git synced 2024-12-23 03:20:52 +08:00

修正自动签到报错

This commit is contained in:
Ctrlcvs 2022-09-12 21:29:33 +08:00
parent b3743669de
commit 03883430a1
2 changed files with 4 additions and 4 deletions

View File

@ -313,8 +313,8 @@ async function getCookie(e) {
let skuid, cookie, uid
if (isV3) {
skuid = await gsCfg.getBingCookie(e.user_id);
cookie = skuid.ck;
uid = skuid.item;
cookie = skuid?.ck;
uid = skuid?.item;
} else {
if (NoteCookie[e.user_id]) {
cookie = NoteCookie[e.user_id].cookie;

View File

@ -124,8 +124,8 @@ export default class user {
let skuid, cookie, uid
if (isV3) {
skuid = await gsCfg.getBingCookie(e.user_id);
cookie = skuid.ck;
uid = skuid.item;
cookie = skuid?.ck;
uid = skuid?.item;
} else {
if (NoteCookie[e.user_id]) {
cookie = NoteCookie[e.user_id].cookie;