mirror of
https://github.com/Dasemu/Transcriptarr.git
synced 2026-11-26 15:06:06 +00:00
Force /batch to require a string
This commit is contained in:
1 parent
dc0cb72b3d
commit
9e5d9229e9
1 file changed
+2
-2
@@ -1,4 +1,4 @@
|
||||
subgen_version = '2025.09.1'
|
||||
subgen_version = '2025.11.1'
|
||||
|
||||
"""
|
||||
ENVIRONMENT VARIABLES DOCUMENTATION
|
||||
@@ -518,7 +518,7 @@ def receive_emby_webhook(
|
||||
|
||||
@app.post("/batch")
|
||||
def batch(
|
||||
directory: Union[str, None] = Query(default=None),
|
||||
directory: str = Query(...),
|
||||
forceLanguage: Union[str, None] = Query(default=None)
|
||||
):
|
||||
transcribe_existing(directory, LanguageCode.from_string(forceLanguage))
|
||||
|
||||
Reference in new issue
Block a user