more api cleanup

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2026-08-23 11:40:53 +02:00
parent f4aa9d1b86
commit 38324a198e
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -210,7 +210,7 @@ def register_api(api): # register api
debug(f'Browser folders allow: {path}')
shared.demo.allowed_paths.append(path)
debug(f'Browser folders: {unique_folders}')
return JSONResponse(content=unique_folders)
return unique_folders
# @app.get("/sdapi/v1/browser/thumb", response_model=dict)
async def get_thumb(file: str, exif: bool = False):