Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
code807 authored Jun 21, 2024
1 parent d85eec7 commit 33bb5fd
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,8 @@ async def get_header(request: Request):
async def get_body(request: Request):
return await request.body()

async def checkquota() -> bool:
return True

app = FastAPI()

async def checkquota(method):
return True

@app.post("/twitch-handler")
@app.post("/twitch-handler/")
async def handle_message(data: TwitchMessage, headers: bytes = Depends(get_header), body = Depends(get_body), status_code=200): # -> ResponseMessage:
Expand Down

0 comments on commit 33bb5fd

Please sign in to comment.