Fixed plex webhook
This commit is contained in:
@@ -299,8 +299,8 @@ def receive_tautulli_webhook(
|
|||||||
|
|
||||||
@app.post("/plex")
|
@app.post("/plex")
|
||||||
def receive_plex_webhook(
|
def receive_plex_webhook(
|
||||||
user_agent: Optional[str] = Header(None),
|
user_agent: Union[str] = Header(None),
|
||||||
payload: Optional[str] = Form(),
|
payload: Union[str] = Form(),
|
||||||
):
|
):
|
||||||
try:
|
try:
|
||||||
plex_json = json.loads(payload)
|
plex_json = json.loads(payload)
|
||||||
|
|||||||
Reference in New Issue
Block a user