Skip to content

Commit

Permalink
Change naming of note
Browse files Browse the repository at this point in the history
  • Loading branch information
phklive committed Mar 28, 2024
1 parent c9ae939 commit ceb1cc2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions faucet/src/handlers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,10 @@ pub async fn get_tokens(
.content_type("application/octet-stream")
.append_header(header::ContentDisposition {
disposition: actix_web::http::header::DispositionType::Attachment,
parameters: vec![actix_web::http::header::DispositionParam::Filename(
format!("{:?}.mno",note_id),
)],
parameters: vec![actix_web::http::header::DispositionParam::Filename(format!(
"{:?}.mno",
note_id
))],
})
.body(bytes))
}

0 comments on commit ceb1cc2

Please sign in to comment.