Spaces:
Building
Building
Update admin_routes.py
Browse files- admin_routes.py +1 -8
admin_routes.py
CHANGED
@@ -560,14 +560,7 @@ async def update_version(
|
|
560 |
"""Update version with race condition handling"""
|
561 |
try:
|
562 |
log_debug(f"🔍 Version update request - project: {project_id}, version: {version_no}, user: {username}")
|
563 |
-
|
564 |
-
# Get current version info for debugging
|
565 |
-
project = ConfigProvider.get_project(project_id)
|
566 |
-
if project:
|
567 |
-
version = next((v for v in project.versions if v.no == version_no), None)
|
568 |
-
if version:
|
569 |
-
log_debug(f"🔍 Current version state before update - published: {version.published}, type: {type(version.published)}")
|
570 |
-
|
571 |
# Force parametresi kontrolü
|
572 |
if force:
|
573 |
log_warning(f"⚠️ Force update requested for version {version_no} by {username}")
|
|
|
560 |
"""Update version with race condition handling"""
|
561 |
try:
|
562 |
log_debug(f"🔍 Version update request - project: {project_id}, version: {version_no}, user: {username}")
|
563 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
564 |
# Force parametresi kontrolü
|
565 |
if force:
|
566 |
log_warning(f"⚠️ Force update requested for version {version_no} by {username}")
|