fix expired method

This commit is contained in:
blek 2023-10-15 17:19:16 +10:00
parent eb92676a47
commit 815cab46f2
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ pub enum DeleteMode {
impl File {
pub fn expired(self: &Self) -> bool {
self.delete_at < chrono::Local::now()
self.delete_at > chrono::Local::now()
}
pub fn get_redis_key(self: &Self, prefix: String) -> String {