diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 35b43faf2..c905ad7a4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -3,7 +3,7 @@ name: Python package on: [push] env: - EXAMPLE_IMAGE_NAME: ghcr.io/descope/py-example:0.1 + EXAMPLE_IMAGE_NAME: ghcr.io/descope/py-example:0.1.1 jobs: build: diff --git a/samples/otp_web_sample_app.py b/samples/otp_web_sample_app.py index 13b77f97a..c18b2a948 100644 --- a/samples/otp_web_sample_app.py +++ b/samples/otp_web_sample_app.py @@ -38,7 +38,7 @@ def handle_auth_error(ex): return response -@APP.route("/api/signup", methods=["POST"]) +@APP.route("/otp/signup", methods=["POST"]) def signup(): data = request.get_json(force=True) email = data.get("email", None) @@ -88,7 +88,7 @@ def signuporin(): return jsonify(message=response) -@APP.route("/api/verify", methods=["POST"]) +@APP.route("/otp/verify", methods=["POST"]) def verify(): data = request.get_json(force=True) email = data.get("email", None)