fix: refine validation UI with updated colors and spacing in upload component, and other fixes

This commit is contained in:
vee1e 2025-07-29 01:07:47 +05:30
parent 6841e1e3a4
commit 30167af8d4
11 changed files with 56 additions and 37 deletions

View file

@ -129,7 +129,7 @@ class DatabaseService:
return True
except Exception as e:
logger.error(f"Error deleting all forms: {e}")
return False
return False
async def update_form(self, form_id: str, form_data: Dict[str, Any], questions: List[Dict[str, Any]], options: List[Dict[str, Any]]) -> bool:
"""Update form metadata, questions, and options by form_id"""
@ -159,4 +159,4 @@ class DatabaseService:
return True
except Exception as e:
logger.error(f"Error updating form: {e}")
return False
return False