Medien: library-Pfade nach Medientyp (image/video/pdf/other) unterteilen

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-05-08 10:03:00 +02:00
1 parent 8d85649cf8
commit 3e4fa0dc39
6 files changed
+89 -20

No files matched your search

+3 -3
View File
@@ -16,9 +16,9 @@ from main import app
from tenant_context import TenantContext, get_tenant_context
# Gültige storage_key-Beispiele (64 Hex-Zeichen wie echter SHA-256)
_SK_OFF_A = f"library/official/{'a' * 64}.jpg"
_SK_OFF_B = f"library/official/{'b' * 64}.jpg"
_SK_PRIV_C = f"library/club/c1/u1/{'c' * 64}.mp4"
_SK_OFF_A = f"library/official/image/{'a' * 64}.jpg"
_SK_OFF_B = f"library/official/image/{'b' * 64}.jpg"
_SK_PRIV_C = f"library/club/c1/u1/video/{'c' * 64}.mp4"
@pytest.fixture