fix: add ConfigManager import, fix ContentType import
Some checks failed
BotServer CI/CD / build (push) Failing after 1m11s

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2026-04-04 23:11:35 -03:00
parent 06aee7c9ef
commit 58f8451981
2 changed files with 3 additions and 3 deletions

View file

@ -394,9 +394,8 @@ impl EmailService {
file_data: Vec<u8>,
filename: &str,
) -> Result<(), String> {
use lettre::message::{
header::ContentType, Attachment, Body, Message, MultiPart, SinglePart,
};
use lettre::message::header::ContentType;
use lettre::message::{Attachment, Body, Message, MultiPart, SinglePart};
use lettre::transport::smtp::authentication::Credentials;
use lettre::{SmtpTransport, Transport};

View file

@ -9,6 +9,7 @@ use serde::{Deserialize, Serialize};
use std::sync::Arc;
use uuid::Uuid;
use crate::core::config::ConfigManager;
use crate::core::shared::state::AppState;
use crate::core::shared::schema::{
email_tracking, marketing_campaigns, marketing_recipients,