Compare commits
3 commits
a5f6c1efff
...
e6d3646fa8
Author | SHA1 | Date | |
---|---|---|---|
e6d3646fa8 | |||
3afe350816 | |||
bde97f9211 |
4 changed files with 12 additions and 3 deletions
|
@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
|
|||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [1.2.2] - 2023-01-25
|
||||
|
||||
### Fixed
|
||||
|
||||
- Corrected selection criteria for expiring owners query
|
||||
|
||||
## [1.2.1] - 2023-01-24
|
||||
|
||||
### Added
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
name: zgo-backend
|
||||
version: 1.2.1
|
||||
version: 1.2.2
|
||||
git: "https://git.vergara.tech/Vergara_Tech/zgo-backend"
|
||||
license: BOSL
|
||||
author: "Rene Vergara"
|
||||
|
|
|
@ -297,4 +297,7 @@ findOwnerById i =
|
|||
findExpiringOwners :: UTCTime -> Action IO [Document]
|
||||
findExpiringOwners now =
|
||||
rest =<<
|
||||
find (select ["expiration" =: ["$lte" =: addUTCTime 172800 now]] "owners")
|
||||
find
|
||||
(select
|
||||
["paid" =: True, "expiration" =: ["$lte" =: addUTCTime 172800 now]]
|
||||
"owners")
|
||||
|
|
|
@ -5,7 +5,7 @@ cabal-version: 1.12
|
|||
-- see: https://github.com/sol/hpack
|
||||
|
||||
name: zgo-backend
|
||||
version: 1.2.1
|
||||
version: 1.2.2
|
||||
synopsis: Haskell Back-end for the ZGo point-of-sale application
|
||||
description: Please see the README at <https://git.vergara.tech/Vergara_Tech//zgo-backend#readme>
|
||||
category: Web
|
||||
|
|
Loading…
Reference in a new issue