style: delete comments

This commit is contained in:
Sebastian Pravda 2022-12-14 18:33:50 +01:00
parent 55a31649ae
commit a1de499b76
No known key found for this signature in database
GPG key ID: F3BC84F08EFA3F57
2 changed files with 0 additions and 4 deletions

View file

@ -25,7 +25,6 @@ impl<'r> FromData<'r> for Letter {
let data_bytes = data.into_bytes().await.unwrap();
if !data_bytes.is_complete() {
// TODO: Over limit
return Outcome::Failure((Status::BadRequest, None))
}
@ -34,7 +33,6 @@ impl<'r> FromData<'r> for Letter {
let is_pdf = portfolio_core::utils::filetype::filetype_is_pdf(&data_bytes);
if !is_pdf {
// TODO: Not PDF
return Outcome::Failure((Status::BadRequest, None))
}

View file

@ -25,7 +25,6 @@ impl<'r> FromData<'r> for Portfolio {
let data_bytes = data.into_bytes().await.unwrap();
if !data_bytes.is_complete() {
// TODO: Over limit
return Outcome::Failure((Status::BadRequest, None))
}
@ -34,7 +33,6 @@ impl<'r> FromData<'r> for Portfolio {
let is_zip = portfolio_core::utils::filetype::filetype_is_zip(&data_bytes);
if !is_zip {
// TODO: Not ZIP
return Outcome::Failure((Status::BadRequest, None))
}