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

feat(wallet): Refresh wallet balance on update #2094

Merged
merged 2 commits into from
May 30, 2024

Conversation

rsempe
Copy link
Collaborator

@rsempe rsempe commented May 30, 2024

Roadmap Task

👉 https://getlago.canny.io/feature-requests/p/define-a-target-balance-to-reach-for-recurring-top-up

Context

We want to allow users to top-up their wallets to reach a specific target balance.

We can currently define a fixed top-up but we want to add the ability to specify a dynamic top-up (target balance to reach).

Description

The goal of this PR is to:

  • Refactor Wallets::UpdateService#update to Wallets::UpdateService#call
  • Refresh wallet balance on update

@rsempe rsempe added the Wallet label May 30, 2024
@rsempe rsempe force-pushed the feat-wallet-topup-on-update branch from 3e7eb24 to 5edc775 Compare May 30, 2024 09:31
@rsempe rsempe merged commit 199b680 into main May 30, 2024
6 checks passed
@rsempe rsempe deleted the feat-wallet-topup-on-update branch May 30, 2024 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants