|
@@ -255,7 +255,7 @@ async def verify(msg_signature: str, timestamp: str, nonce: str, echostr: str):
|
|
|
user_bot_id_mapping = {}
|
|
|
#
|
|
|
@app.post("/bot")
|
|
|
-async def recv(msg_signature: str, timestamp: str, nonce: str, request: Request, background_tasks: BackgroundTasks):
|
|
|
+async def recv(msg_signature: str, timestamp: str, nonce: str, request: Request):
|
|
|
#start_time = time.time()
|
|
|
body = await request.body()
|
|
|
request_id = str(uuid.uuid4())
|