From b22d9433d008c208c899698aaebc1dc1a9089dcc Mon Sep 17 00:00:00 2001 From: Taha Yassine Kraiem Date: Tue, 23 Jan 2024 13:35:04 +0100 Subject: [PATCH] refactor(chalice): changes --- ee/api/chalicelib/core/unlock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee/api/chalicelib/core/unlock.py b/ee/api/chalicelib/core/unlock.py index 646cea681..cb38446a3 100644 --- a/ee/api/chalicelib/core/unlock.py +++ b/ee/api/chalicelib/core/unlock.py @@ -24,7 +24,7 @@ def check(): environ["numberOfSeats"] = "0" return print(f"validating: {helper.obfuscate(license)}") - r = requests.post('https://api.openreplay.com/os/license', json={"mid": __get_mid(), "license": get_license()}) + r = requests.post('https://api.openreplay.com/license/validate', json={"mid": __get_mid(), "license": get_license()}) if r.status_code != 200 or "errors" in r.json() or not r.json()["data"].get("valid"): print("license validation failed") print(r.text)