mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-22 11:21:24 +00:00
Remove outdated TODO
This commit is contained in:
parent
18e7aa8d06
commit
b7a66c7863
1 changed files with 1 additions and 3 deletions
|
@ -106,7 +106,7 @@ impl UploadManager {
|
|||
})
|
||||
.await?;
|
||||
|
||||
// -- CHECK IF ANY OTHER ALIASES EXIST
|
||||
// -- CHECK IF ANY OTHER ALIASES EXIST --
|
||||
let db = self.inner.db.clone();
|
||||
let (start, end) = alias_key_bounds(&hash);
|
||||
let any_aliases = web::block(move || {
|
||||
|
@ -238,8 +238,6 @@ impl UploadManager {
|
|||
return Ok(Some(path));
|
||||
}
|
||||
|
||||
// TODO: validate image before saving
|
||||
|
||||
// -- WRITE NEW FILE --
|
||||
let mut real_path = self.image_dir();
|
||||
real_path.push(name);
|
||||
|
|
Loading…
Reference in a new issue