Correct owner expiration query
This commit is contained in:
parent
789211b06f
commit
1a100fd8ca
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue