Skip to content

Commit

Permalink
Updated the handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Jkarage committed Oct 18, 2023
1 parent 4bc5055 commit 27a8e89
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import uvicorn
from sarufi import Sarufi
from dataclasses import dataclass
from mangum import Mangum

from telegram import (
Update,
Expand Down Expand Up @@ -29,6 +30,8 @@

app = FastAPI()

handler = Mangum(app)

load_dotenv()

# Set up Sarufi and get bot's name
Expand Down

0 comments on commit 27a8e89

Please sign in to comment.