mirror of
https://github.com/danbulant/Portfolio
synced 2026-06-19 14:31:05 +00:00
style: delete comments
This commit is contained in:
parent
55a31649ae
commit
a1de499b76
2 changed files with 0 additions and 4 deletions
|
|
@ -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))
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue