fix: translate final Romanian comment in items.py to English

This commit is contained in:
Daniel Bedeleanu
2026-04-11 14:27:15 +03:00
parent 9dbe0f8b6c
commit ccc69d92df

View File

@@ -69,7 +69,7 @@ async def extract_label(
"""[C-01] Extract label from image — only for authenticated users. [H-02] Rate limit: 10 req/min per IP."""
from ..ai_vision import extract_label_info
# [SECURITY FIX H-03] Validare tip MIME și dimensiune maximă
# [SECURITY FIX H-03] Validate MIME type and maximum size
if file.content_type not in _ALLOWED_IMAGE_TYPES:
raise HTTPException(
status_code=status.HTTP_415_UNSUPPORTED_MEDIA_TYPE,