Skip to content

Commit

Permalink
chore: remove debug statement
Browse files Browse the repository at this point in the history
  • Loading branch information
jooakar committed Aug 11, 2024
1 parent f07091c commit cfd22df
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/api/invoices.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ pub async fn send_mail(invoice: &PopulatedInvoice) -> Result<(), Error> {
.try_fold(form, |form, attachment| {
let path = std::env::var("ATTACHMENT_PATH").unwrap_or(String::from("."));
let path = std::path::Path::new(&path).join(&attachment.hash);
dbg!(&path);
let bytes = std::fs::read(path)?;
Ok::<reqwest::multipart::Form, Error>(form.part(
"attachment",
Expand Down

0 comments on commit cfd22df

Please sign in to comment.