added friendships in backend

This commit is contained in:
2025-12-18 08:54:18 +01:00
parent 9114a1383b
commit af1b9e4d6d
8 changed files with 226 additions and 24 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ async fn list_rooms(
.bind(user_id)
.fetch_all(&db)
.await
.unwrap_or_else(|_| Vec::new());
.unwrap_or(Vec::new());
Ok(Json(rooms))
}