Skip to content

Commit

Permalink
fix(max): bad password return GENERAL_ERROR instead CHANGE_PASSWORD (#…
Browse files Browse the repository at this point in the history
…847)

Co-authored-by: Baruch Odem <baruchiro@gmail.com>
  • Loading branch information
gczobel and baruchiro committed Apr 1, 2024
1 parent 6088953 commit c873557
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/scrapers/max.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,11 @@ export interface ScrapedTransaction {
};
}

const BASE_ACTIONS_URL = 'https://online.max.co.il';
const BASE_API_ACTIONS_URL = 'https://onlinelcapi.max.co.il';
const BASE_WELCOME_URL = 'https://www.max.co.il';

const LOGIN_URL = `${BASE_WELCOME_URL}/homepage/welcome`;
const PASSWORD_EXPIRED_URL = `${BASE_ACTIONS_URL}/Anonymous/Login/PasswordExpired.aspx`;
const PASSWORD_EXPIRED_URL = `${BASE_WELCOME_URL}/renew-password`;
const SUCCESS_URL = `${BASE_WELCOME_URL}/homepage/personal`;

enum MaxPlanName {
Expand Down

0 comments on commit c873557

Please sign in to comment.