diff --git a/src/main.rs b/src/main.rs index 5ed9baf3..937f5865 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,4 @@ -mod server; +pub mod server; // TODO there are some methods that i dont use yet, make it public so that ra shuts up mod model; mod routes; mod cli; diff --git a/src/server/fetcher.rs b/src/server/fetcher.rs index 390fc0c7..87b41654 100644 --- a/src/server/fetcher.rs +++ b/src/server/fetcher.rs @@ -5,7 +5,7 @@ use base64::Engine; use reqwest::{header::{ACCEPT, CONTENT_TYPE, USER_AGENT}, Method, Response}; use sea_orm::{sea_query::Expr, ColumnTrait, EntityTrait, IntoActiveModel, QueryFilter}; -use crate::{errors::UpubError, model, VERSION}; +use crate::{model, VERSION}; use super::{auth::HttpSignature, Context};