Compare commits

..

2 Commits
0.6.0 ... 0.6.1

Author SHA1 Message Date
Elisiário Couto
e0351a8771 chore(ci): Bump version to 0.6.1 2024-06-07 20:20:38 +01:00
Elisiário Couto
b60ba068cd fix(sync): Get correct parameter for requisition creation time. 2024-06-07 20:20:31 +01:00
3 changed files with 10 additions and 3 deletions

View File

@@ -1,3 +1,10 @@
## 0.6.1 (2024/06/07)
### Bug Fixes
- **sync:** Get correct parameter for requisition creation time. ([b60ba068](https://github.com/elisiariocouto/leggen/commit/b60ba068cd7facea5f60fca61bf5845cabf0c2c6))
## 0.6.0 (2024/06/07)
### Features

View File

@@ -22,10 +22,10 @@ def sync(ctx: click.Context):
for r in res.get("results", []):
accounts.update(r.get("accounts", []))
for r in res["results"]:
for r in res.get("results", []):
account_status = REQUISITION_STATUS.get(r["status"], "UNKNOWN")
if account_status != "LINKED":
created_at = datetime.fromisoformat(r["createdAt"])
created_at = datetime.fromisoformat(r["created"])
now = datetime.now()
if (created_at - now).days <= 15:
n = {

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "leggen"
version = "0.6.0"
version = "0.6.1"
description = "An Open Banking CLI"
authors = ["Elisiário Couto <elisiario@couto.io>"]
readme = "README.md"