Correct owner expiration query

This commit is contained in:
Rene Vergara 2023-01-24 10:20:00 -06:00
parent 789211b06f
commit 1a100fd8ca
Signed by: pitmutt
GPG Key ID: 65122AD495A7F5B2
1 changed files with 1 additions and 1 deletions

View File

@ -297,4 +297,4 @@ findOwnerById i =
findExpiringOwners :: UTCTime -> Action IO [Document]
findExpiringOwners now =
rest =<<
find (select ["expiration" =: ["$lte" =: addUTCTime 1728000 now]] "owners")
find (select ["expiration" =: ["$lte" =: addUTCTime 172800 now]] "owners")