remove mail functionality for now

removing mail functionality
This commit is contained in:
Per Stark
2025-03-21 12:55:21 +01:00
parent 0be4393e3c
commit 334a0e3ea6
6 changed files with 2 additions and 102 deletions

View File

@@ -25,7 +25,7 @@ pub enum ApiError {
impl From<AppError> for ApiError {
fn from(err: AppError) -> Self {
match err {
AppError::Database(_) | AppError::OpenAI(_) | AppError::Email(_) => {
AppError::Database(_) | AppError::OpenAI(_) => {
tracing::error!("Internal error: {:?}", err);
ApiError::InternalError("Internal server error".to_string())
}