aboutsummaryrefslogtreecommitdiff
path: root/server/src/api.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-04-30 11:46:28 +0200
committermetamuffin <metamuffin@disroot.org>2025-04-30 11:46:28 +0200
commit35ae80f183904466667af73c7921b4ade399569a (patch)
tree3a7eec95debbd9ba292436ff989742b8a9b1dff4 /server/src/api.rs
parentd6a039a10ac3c81d410beb9b648d29524ca1e278 (diff)
downloadjellything-35ae80f183904466667af73c7921b4ade399569a.tar
jellything-35ae80f183904466667af73c7921b4ade399569a.tar.bz2
jellything-35ae80f183904466667af73c7921b4ade399569a.tar.zst
split base into asset_token and db
Diffstat (limited to 'server/src/api.rs')
-rw-r--r--server/src/api.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/server/src/api.rs b/server/src/api.rs
index fb5ee88..5ec3c5c 100644
--- a/server/src/api.rs
+++ b/server/src/api.rs
@@ -4,12 +4,13 @@
Copyright (C) 2025 metamuffin <metamuffin.org>
*/
use super::ui::error::MyResult;
-use crate::{database::Database, helper::A};
-use jellybase::assetfed::AssetInner;
+use crate::helper::A;
use jellycommon::{user::CreateSessionParams, NodeID, Visibility};
+use jellyimport::asset_token::AssetInner;
use jellylogic::{
login::login_logic,
session::{AdminSession, Session},
+ Database,
};
use rocket::{
get,