mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-06 16:07:01 +08:00
更新 webhook.py
This commit is contained in:
@@ -32,8 +32,8 @@ async def webhook_message(background_tasks: BackgroundTasks,
|
|||||||
|
|
||||||
|
|
||||||
@router.get("/", summary="Webhook消息响应", response_model=schemas.Response)
|
@router.get("/", summary="Webhook消息响应", response_model=schemas.Response)
|
||||||
def webhook_message(background_tasks: BackgroundTasks,
|
async def webhook_message(background_tasks: BackgroundTasks,
|
||||||
request: Request, _: Annotated[str, Depends(verify_apitoken)]) -> Any:
|
request: Request, _: Annotated[str, Depends(verify_apitoken)]) -> Any:
|
||||||
"""
|
"""
|
||||||
Webhook响应,配置请求中需要添加参数:token=API_TOKEN&source=媒体服务器名
|
Webhook响应,配置请求中需要添加参数:token=API_TOKEN&source=媒体服务器名
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user