Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Reset last integration date on account relinking (backport #125) #127

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Nov 6, 2024

  • Assume the last integration date is set to "31-10-2024" on Account A
  • Now Account A is relinked due to a consent that expires soon. The consent start date is "01-11-2024"
  • After relinking, a user tries fetching transactions (consent flow) and ends up with
     'from_date' must be equal or after 'from_date' specified in consent scope
    
  • This is because transactions sync picks up from the last integration date which is outside the new consent period

Solution:

- This is to avoid out of scope dates comapred to the consent

(cherry picked from commit 6d208fc)
@marination marination merged commit d12fd99 into version-14 Nov 8, 2024
2 checks passed
@marination marination deleted the mergify/bp/version-14/pr-125 branch November 8, 2024 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant