refactor: Clean up unused imports and improve error handling in middleware and DTOs
This commit is contained in:
1 parent
6915a97d79
commit
3fcfb3709e
7 files changed
+47
-18
No files matched your search
@@ -209,7 +209,7 @@ pub async fn validate_timeline_request_body(
|
||||
async fn get_active_timeline_phases(
|
||||
hackathon_id: String,
|
||||
current_time: DateTime<Utc>,
|
||||
app_state: &AppState,
|
||||
_app_state: &AppState,
|
||||
) -> Result<Vec<HackathonTimelinePhase>, String> {
|
||||
// In a real implementation, this would call the hackathon service to get timeline phases
|
||||
// For now, we'll return a mock implementation that demonstrates the pattern
|
||||
|
||||
Reference in new issue
Block a user