Skip to content

Commit

Permalink
chore: code tune
Browse files Browse the repository at this point in the history
  • Loading branch information
abc873693 committed Jan 6, 2024
1 parent 5e2106f commit 9548354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api/ap_helper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class WebApHelper {
Helper.username = username;
Helper.password = password;
final int code = WebApParser.instance.apLoginParser(res.data);
switch (WebApParser.instance.apLoginParser(res.data)) {
switch (code) {
case -1:
//Captcha error, go retry.
break;
Expand Down

0 comments on commit 9548354

Please sign in to comment.