This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
from dakiny_bot import app
|
||||
from fastapi import APIRouter
|
||||
|
||||
router = APIRouter()
|
||||
|
||||
|
||||
@app.post("/message/")
|
||||
@router.post("/message/")
|
||||
async def hello():
|
||||
print("we did a webhook")
|
||||
return {"message": "webhook get"}
|
||||
|
||||
Reference in New Issue
Block a user