aboutsummaryrefslogtreecommitdiff
path: root/logic/src/home.rs
diff options
context:
space:
mode:
Diffstat (limited to 'logic/src/home.rs')
-rw-r--r--logic/src/home.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/src/home.rs b/logic/src/home.rs
index b774a9f..ad3fee5 100644
--- a/logic/src/home.rs
+++ b/logic/src/home.rs
@@ -6,13 +6,13 @@
use crate::{node::DatabaseNodeUserDataExt, session::Session};
use anyhow::{Context, Result};
-use jellybase::database::Database;
use jellycommon::{
NodeID, NodeKind, Rating, Visibility,
api::ApiHomeResponse,
chrono::{Datelike, Utc},
user::WatchedState,
};
+use jellydb::Database;
pub fn home(db: &Database, session: &Session) -> Result<ApiHomeResponse> {
let mut items = db.list_nodes_with_udata(&session.user.name)?;