-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(wallet): change ApplyPaidCreditsService argument (#2325)
## Description As we're working on some wallet improvements, I was looking at this service. I'd like to make some modification: * `*Service.call` methods should return a result as much as possible to avoid calling `raise_if_error!` on nil * The Service is under `Wallets` namespace and only need a wallet transaction so I change the params. The invoice was not needed. I think this makes the test more straight forward too.
- Loading branch information
1 parent
b693ba0
commit 1365c27
Showing
3 changed files
with
21 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters