refactor: remove anyhow dependency, replace with thiserror in db.rs and auth_factory.rs

This commit is contained in:
Dionisio
2026-03-03 11:11:39 +01:00
parent efcf88c4d7
commit 77fc9bba47
4 changed files with 18 additions and 13 deletions
+2 -1
View File
@@ -1,7 +1,8 @@
use anyhow::Result;
use sqlx::PgPool;
use std::sync::Arc;
type Result<T> = std::result::Result<T, Box<dyn std::error::Error + Send + Sync>>;
use crate::application::ports::auth_ports::TokenServicePort;
use crate::application::services::auth_application_service::AuthApplicationService;
use crate::application::services::folder_service::FolderService;