mirror of
https://git.asonix.dog/asonix/pict-rs.git
synced 2024-11-28 12:31:00 +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?;
|
.await?;
|
||||||
|
|
||||||
// -- CHECK IF ANY OTHER ALIASES EXIST
|
// -- CHECK IF ANY OTHER ALIASES EXIST --
|
||||||
let db = self.inner.db.clone();
|
let db = self.inner.db.clone();
|
||||||
let (start, end) = alias_key_bounds(&hash);
|
let (start, end) = alias_key_bounds(&hash);
|
||||||
let any_aliases = web::block(move || {
|
let any_aliases = web::block(move || {
|
||||||
|
@ -238,8 +238,6 @@ impl UploadManager {
|
||||||
return Ok(Some(path));
|
return Ok(Some(path));
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: validate image before saving
|
|
||||||
|
|
||||||
// -- WRITE NEW FILE --
|
// -- WRITE NEW FILE --
|
||||||
let mut real_path = self.image_dir();
|
let mut real_path = self.image_dir();
|
||||||
real_path.push(name);
|
real_path.push(name);
|
||||||
|
|
Loading…
Reference in a new issue