fix broken expired method
This commit is contained in:
parent
cf6406602a
commit
cbe4f379da
|
@ -14,6 +14,6 @@ pub struct File {
|
||||||
|
|
||||||
impl File {
|
impl File {
|
||||||
pub fn expired(self: &Self) -> bool {
|
pub fn expired(self: &Self) -> bool {
|
||||||
self.delete_at > chrono::Local::now()
|
self.delete_at < chrono::Local::now()
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue