无法提交打卡
bluspi opened this issue · comments
这个是你的之前提交的信息 oldInfo
有问题,无法 JSON.parse
,请手动打一次卡,后面应该没啥问题了。
https://github.com/zju-health-report/action/blob/2a44c4b8ece7a3db0cc3ebbd19ffc311db6c51ee/api.ts#L46
我们这边都没有遇到过这个问题。
如果还发现问题,可以以 dev 模式手动运行脚本看一下 oldInfo 是啥:
NODE_ENV=development username=浙大通行证用户名 password=浙大通行证密码 npx github:zju-health-report/action#release
这是 Unix 下的命令,其他系统参考: https://github.com/zju-health-report/action#cli