Remove photo alias

This commit is contained in:
gabdevele
2026-06-03 01:20:11 +02:00 Unverified
parent 4b8067748e
commit 84e8aadf11
9 changed files with 10 additions and 20 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ def openapi_path(path: str) -> tuple[str, list[dict]]:
def request_body(path: str, method: str) -> dict | None:
if method != "post" and method != "patch":
return None
if path.endswith("/media") or path.endswith("/photos"):
if path.endswith("/media"):
return {
"required": True,
"content": {