fix:上期深渊

This commit is contained in:
yysforget 2024-08-01 09:50:51 +08:00
parent 8929d12b9b
commit ab99174460

View file

@ -24,7 +24,7 @@ export class Abyss extends ZZZPlugin {
const { api, deviceFp } = await this.getAPI(); const { api, deviceFp } = await this.getAPI();
if (!api) return false; if (!api) return false;
await this.getPlayerInfo(); await this.getPlayerInfo();
const method = this.e.msg.match(`(上期|往期)`) ? 'zzzChallenge' : 'zzzChallengePeriod'; const method = this.e.msg.match(`(上期|往期)`) ? 'zzzChallengePeriod' : 'zzzChallenge';
const abyssData = await api.getFinalData(this.e, method, { const abyssData = await api.getFinalData(this.e, method, {
deviceFp, deviceFp,
}); });