pub async fn list_pending(
    Query(params): Query<PaginationParams>,
    State(state): State<AppState>,
) -> Result<Json<ApiResponse<(Vec<PendingEvent>, i64)>>> {
    let (events, total) = crate::db::events::list_pending(&state.pool, params.page.unwrap_or(1) as i32, params.per_page.unwrap_or(10)).await?;
    
    Ok(Json(ApiResponse {
        success: true,
        data: Some((events, total)),
        message: None,
    }))
}
