mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-23 22:22:11 -03:00
refactor: Update model_id and model_version_id types to integers and add validation in routes
This commit is contained in:
@@ -52,9 +52,6 @@ class WebSocketManager:
|
||||
if not download_id:
|
||||
# Generate a new download ID if not provided
|
||||
download_id = str(uuid4())
|
||||
logger.info(f"Created new download ID: {download_id}")
|
||||
else:
|
||||
logger.info(f"Using provided download ID: {download_id}")
|
||||
|
||||
# Store the websocket with its download ID
|
||||
self._download_websockets[download_id] = ws
|
||||
|
||||
Reference in New Issue
Block a user