Medien: library-Pfade nach Medientyp (image/video/pdf/other) unterteilen
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
8d85649cf8
commit
3e4fa0dc39
6 files changed
+89
-20
No files matched your search
@@ -2525,6 +2525,7 @@ async def upload_exercise_media(
|
||||
full_sha,
|
||||
ext,
|
||||
uploader_profile_id=profile_id if ex_vis == "private" else None,
|
||||
mime_type=mime,
|
||||
)
|
||||
except ValueError as e:
|
||||
raise HTTPException(status_code=400, detail=str(e)) from e
|
||||
|
||||
Reference in new issue
Block a user