set content-disposition to attachment instead of inline

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-05-05 15:06:11 -04:00 committed by June
parent 42e3567153
commit 43c4dfc5df
2 changed files with 8 additions and 6 deletions

View file

@ -16,6 +16,7 @@ use crate::{services, utils, Error, Result};
#[derive(Debug)]
pub(crate) struct FileMeta {
#[allow(dead_code)]
pub(crate) content_disposition: Option<String>,
pub(crate) content_type: Option<String>,
pub(crate) file: Vec<u8>,