diff --git a/backend/src/db/visits.rs b/backend/src/db/visits.rs index abe7eb5..bda0c05 100644 --- a/backend/src/db/visits.rs +++ b/backend/src/db/visits.rs @@ -37,7 +37,6 @@ pub async fn get_user_visit_stats( visits .select(count_distinct(location_id)) .filter(user_id.eq(current_user_id)) - .distinct() .first::(c) });