Skip to content

Commit c43f320

Browse files
authored
Rename example route (#33)
* change otp/signin route * change image tag * revert change
1 parent c9cdc84 commit c43f320

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Python package
33
on: [push]
44

55
env:
6-
EXAMPLE_IMAGE_NAME: ghcr.io/descope/py-example:0.1.1
6+
EXAMPLE_IMAGE_NAME: ghcr.io/descope/py-example:0.1.2
77

88
jobs:
99
build:

samples/otp_web_sample_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def signup():
7777
return Response("This is SignUp API handling", 200)
7878

7979

80-
@APP.route("/api/signin", methods=["POST"])
80+
@APP.route("/otp/signin", methods=["POST"])
8181
def signin():
8282
data = request.get_json(force=True)
8383
email = data.get("email", None)

0 commit comments

Comments
 (0)