Skip to content

Commit 9af648a

Browse files
committed
updated auth version from v3->v4
1 parent c70295a commit 9af648a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tgtg_scanner/tgtg/tgtg_client.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
BASE_URL = "https://apptoogoodtogo.com/api/"
2626
API_ITEM_ENDPOINT = "item/v8/"
2727
FAVORITE_ITEM_ENDPOINT = "user/favorite/v1/{}/update"
28-
AUTH_BY_EMAIL_ENDPOINT = "auth/v3/authByEmail"
29-
AUTH_POLLING_ENDPOINT = "auth/v3/authByRequestPollingId"
30-
SIGNUP_BY_EMAIL_ENDPOINT = "auth/v3/signUpByEmail"
31-
REFRESH_ENDPOINT = "auth/v3/token/refresh"
28+
AUTH_BY_EMAIL_ENDPOINT = "auth/v4/authByEmail"
29+
AUTH_POLLING_ENDPOINT = "auth/v4/authByRequestPollingId"
30+
SIGNUP_BY_EMAIL_ENDPOINT = "auth/v4/signUpByEmail"
31+
REFRESH_ENDPOINT = "auth/v4/token/refresh"
3232
ACTIVE_ORDER_ENDPOINT = "order/v7/active"
3333
INACTIVE_ORDER_ENDPOINT = "order/v7/inactive"
3434
CREATE_ORDER_ENDPOINT = "order/v7/create/"

0 commit comments

Comments
 (0)