Skip to content

Commit

Permalink
Refactor handle_callback function to remove unnecessary route path
Browse files Browse the repository at this point in the history
  • Loading branch information
kkdai committed May 29, 2024
1 parent a906324 commit db37c9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
genai.configure(api_key=gemini_key)


@app.post("/callback")
@app.post("/")
async def handle_callback(request: Request):
signature = request.headers['X-Line-Signature']

Expand Down

0 comments on commit db37c9a

Please sign in to comment.