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

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")