Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

Drop state #159

Merged
merged 8 commits into from
Aug 22, 2021
Merged

Drop state #159

merged 8 commits into from
Aug 22, 2021

Conversation

bahlo
Copy link
Owner

@bahlo bahlo commented Aug 19, 2021

Instead of having a local file and hash, we get the date from the last transaction in YNAB and get all transactions since then. Thanks to #121 YNAB can detect any duplicates so this works.

Since we're changing the whole flow and need to do a major bump anyway, this also rename SLEEP_INTERVAL to SLEEP_INTERVAL_SECONDS.

Draft because I want to test this locally a few days (looking good so far).

Fixes #123

@bahlo bahlo marked this pull request as draft August 19, 2021 09:35
@bahlo bahlo marked this pull request as ready for review August 22, 2021 09:42
@bahlo bahlo enabled auto-merge August 22, 2021 09:43
@bahlo bahlo merged commit fffffc0 into main Aug 22, 2021
@bahlo bahlo deleted the drop-state branch August 22, 2021 09:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove state
1 participant