Compare commits

..

No commits in common. "e6d3646fa8160a535e53a6f8ccbff0d9a36c944d" and "a5f6c1efff85e05cb6ca8ba64a449f26ebd3aa34" have entirely different histories.

4 changed files with 3 additions and 12 deletions

View file

@ -4,12 +4,6 @@ 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

View file

@ -1,5 +1,5 @@
name: zgo-backend
version: 1.2.2
version: 1.2.1
git: "https://git.vergara.tech/Vergara_Tech/zgo-backend"
license: BOSL
author: "Rene Vergara"

View file

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

View file

@ -5,7 +5,7 @@ cabal-version: 1.12
-- see: https://github.com/sol/hpack
name: zgo-backend
version: 1.2.2
version: 1.2.1
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