fmt
Some checks failed
CI / Check / Test (push) Has been cancelled

This commit is contained in:
2026-06-09 02:16:18 +02:00
parent 7bcbc59587
commit 6d3182525f
2 changed files with 2 additions and 8 deletions

View File

@@ -584,10 +584,7 @@ impl ReviewRepository for PostgresRepository {
Ok(()) Ok(())
} }
async fn get_all_reviews_for_user( async fn get_all_reviews_for_user(&self, user_id: &UserId) -> Result<Vec<Review>, DomainError> {
&self,
user_id: &UserId,
) -> Result<Vec<Review>, DomainError> {
let uid = user_id.value().to_string(); let uid = user_id.value().to_string();
sqlx::query_as::<_, ReviewRow>( sqlx::query_as::<_, ReviewRow>(
"SELECT id, movie_id, user_id, rating, comment, "SELECT id, movie_id, user_id, rating, comment,

View File

@@ -576,10 +576,7 @@ impl ReviewRepository for SqliteMovieRepository {
Ok(()) Ok(())
} }
async fn get_all_reviews_for_user( async fn get_all_reviews_for_user(&self, user_id: &UserId) -> Result<Vec<Review>, DomainError> {
&self,
user_id: &UserId,
) -> Result<Vec<Review>, DomainError> {
let uid = user_id.value().to_string(); let uid = user_id.value().to_string();
sqlx::query_as::<_, ReviewRow>( sqlx::query_as::<_, ReviewRow>(
"SELECT id, movie_id, user_id, rating, comment, watched_at, created_at, remote_actor_url "SELECT id, movie_id, user_id, rating, comment, watched_at, created_at, remote_actor_url