Improve the design of the frontend
This commit is contained in:
@@ -197,7 +197,7 @@ class ForecastingBaseRepository(BaseRepository):
|
||||
errors = []
|
||||
|
||||
for field in required_fields:
|
||||
if field not in data or not data[field]:
|
||||
if field not in data or data[field] is None:
|
||||
errors.append(f"Missing required field: {field}")
|
||||
|
||||
# Validate tenant_id format if present
|
||||
|
||||
Reference in New Issue
Block a user