fix broken expired method

This commit is contained in:
blek 2023-10-13 09:17:30 +10:00
parent cf6406602a
commit cbe4f379da
Signed by: blek
GPG Key ID: 14546221E3595D0C
2 changed files with 2 additions and 2 deletions

View File

@ -14,6 +14,6 @@ pub struct File {
impl File {
pub fn expired(self: &Self) -> bool {
self.delete_at > chrono::Local::now()
self.delete_at < chrono::Local::now()
}
}